micole66 commited on
Commit
b3a7fc4
1 Parent(s): f01ab2c

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/(MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli",inputs=gr.inputs.Textbox(placeholder="$answer$ ; $mcoptions$ ; $question$ = ...", label="input text"), title="mmmb", allow_flagging=True, enable_queue=True, api_key="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", examples=examples).launch()