Spaces:
Runtime error
Runtime error
atomiclabs
commited on
Commit
·
fec0983
1
Parent(s):
8dfdaf7
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
iface = gr.Interface.load("huggingface/
|
4 |
-
examples = [
|
5 |
-
|
6 |
-
|
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/deepset/roberta-base-squad2",
|
4 |
+
examples = [['Is this review positive or negative? Review: Best cast iron skillet you will every buy.']
|
5 |
+
|
6 |
+
)
|
|
|
|
|
7 |
|
8 |
iface.launch()
|