Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ with open("example_context.txt", "w", encoding="utf-8") as f:
|
|
37 |
demo = gr.Interface(
|
38 |
fn=process,
|
39 |
inputs=[
|
40 |
-
gr.File(label="Upload Context File", file_types=[".txt"]
|
41 |
gr.Textbox(label="Question", value="What is the capital city of Saudia Arabia?")
|
42 |
],
|
43 |
outputs=[gr.Textbox(label="Answer")],
|
|
|
37 |
demo = gr.Interface(
|
38 |
fn=process,
|
39 |
inputs=[
|
40 |
+
gr.File(label="Upload Context File", file_types=[".txt"]),
|
41 |
gr.Textbox(label="Question", value="What is the capital city of Saudia Arabia?")
|
42 |
],
|
43 |
outputs=[gr.Textbox(label="Answer")],
|