Spaces:
Runtime error
Runtime error
nikhedward
commited on
Commit
·
f7c4e39
1
Parent(s):
74b29d4
Update app.py
Browse filesAdded context 3
app.py
CHANGED
@@ -36,7 +36,7 @@ demo= gr.Interface.load(
|
|
36 |
"huggingface/" + model_name,
|
37 |
theme="dark-peach",
|
38 |
api_key = key,
|
39 |
-
examples = [[context1, question1],[context2, question2], [context3, question3]]
|
40 |
css=".footer{display:none !important}",
|
41 |
#inputs=[gr.Textbox(lines=7, default=context1, label="Context"), gr.inputs.Textbox(lines=2, default=question1, label="Question")],
|
42 |
#outputs=[gr.Textbox(label="Answer"),gr.outputs.Textbox(label="Score")],
|
|
|
36 |
"huggingface/" + model_name,
|
37 |
theme="dark-peach",
|
38 |
api_key = key,
|
39 |
+
examples = [[context1, question1],[context2, question2], [context3, question3]],
|
40 |
css=".footer{display:none !important}",
|
41 |
#inputs=[gr.Textbox(lines=7, default=context1, label="Context"), gr.inputs.Textbox(lines=2, default=question1, label="Question")],
|
42 |
#outputs=[gr.Textbox(label="Answer"),gr.outputs.Textbox(label="Score")],
|