Spaces:
Runtime error
Runtime error
Update app.py
#2
by
micole66 - opened
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
examples=[["$answer$ ; $mcoptions$ ; $question$ = What is the color of a cloudy sky?"]]
|
| 4 |
-
gr.Interface.load("huggingface/allenai/macaw-
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
examples=[["$answer$ ; $mcoptions$ ; $question$ = What is the color of a cloudy sky?"]]
|
| 4 |
+
gr.Interface.load("huggingface/allenai/macaw-3b",inputs=gr.inputs.Textbox(placeholder="$answer$ ; $mcoptions$ ; $question$ = ...", label="input text"), title="macaw-large",allow_flagging=False, examples=examples).launch()
|