Create app.py
Browse files
app.py
ADDED
@@ -0,0 +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-3b",inputs=gr.inputs.Textbox(placeholder="$answer$ ; $mcoptions$ ; $question$ = ...", label="input text"), title="macaw-large",allow_flagging=False, examples=examples).launch()
|