Walid-Ahmed commited on
Commit
31d7389
·
verified ·
1 Parent(s): 0321323

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"], file_path="example_context.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")],