micole66 commited on
Commit
81e56bd
1 Parent(s): 0483d67

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import gradio as gr
2
+ examples=[["$answer$ ; $mcoptions$ ; $question$ = What is the color of a cloudy sky?"]]
3
+ gr.Interface.load("huggingface/joeddav/xlm-roberta-large-xnli",inputs=gr.inputs.Textbox(placeholder="$answer$ ; $mcoptions$ ; $question$ = ...", label="input text"), title="macaw-11b",allow_flagging=False, examples=examples).launch()