atomiclabs commited on
Commit
05a2112
1 Parent(s): 0e2bb37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -1,10 +1,6 @@
1
  import gradio as gr
2
 
3
- iface = gr.Interface.load("huggingface/sshleifer/distilbart-cnn-12-6",
4
- examples = [
5
- ['Is this review positive or negative? Review: Best cast iron skillet you will every buy.'],
6
- ["Barack Obama nominated Hilary Clinton as his secretary of state on Monday. He chose her because she had foreign affairs experience as a former First Lady. In the previous sentence, decide who 'her' is referring to."],
7
- ["On a shelf, there are five books: a gray book, a red book, a purple book, a blue book, and a black book. The red book is to the right of the gray book. The black book is to the left of the blue book. The blue book is to the left of the gray book. The purple book is the second from the right. Which book is the leftmost book?"],
8
- ])
9
 
10
  iface.launch()
 
1
  import gradio as gr
2
 
3
+ iface = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-de",
4
+ )
 
 
 
 
5
 
6
  iface.launch()