Spaces:
Sleeping
Sleeping
Ahsen Khaliq
commited on
Commit
•
31152c1
1
Parent(s):
447892d
Update app.py
Browse files
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-large",inputs=gr.
|
|
|
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-large",inputs=gr.inputs.Textbox(placeholder="$answer$ ; $mcoptions$ ; $question$ = ..."), title="macaw-large",allow_flagging=False, examples=examples).launch()
|