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/(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()
|