micole66 commited on
Commit
540c8c2
1 Parent(s): 6edcb42

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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()