bstraehle commited on
Commit
a46c3e1
·
verified ·
1 Parent(s): f0f62f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def invoke(level, question, file_name, ground_truth, openai_api_key):
25
  gr.close_all()
26
 
27
  demo = gr.Interface(fn = invoke,
28
- inputs = [gr.Radio([1, 2, 3], label = "Level", default = 1, value = int(os.environ["INPUT_LEVEL"])),
29
  gr.Textbox(label = "Question", value = os.environ["INPUT_QUESTION"]),
30
  gr.Textbox(label = "File Name", value = os.environ["INPUT_FILENAME"]),
31
  gr.Textbox(label = "Ground Truth", value = os.environ["INPUT_FINALANSWER"]),
 
25
  gr.close_all()
26
 
27
  demo = gr.Interface(fn = invoke,
28
+ inputs = [gr.Radio([1, 2, 3], label = "Level", value = int(os.environ["INPUT_LEVEL"])),
29
  gr.Textbox(label = "Question", value = os.environ["INPUT_QUESTION"]),
30
  gr.Textbox(label = "File Name", value = os.environ["INPUT_FILENAME"]),
31
  gr.Textbox(label = "Ground Truth", value = os.environ["INPUT_FINALANSWER"]),