bstraehle commited on
Commit
d8ff981
·
verified ·
1 Parent(s): e9b9ab3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def invoke(level, question, file_name, ground_truth, openai_api_key, gemini_api_
39
  gr.close_all()
40
 
41
  demo = gr.Interface(fn=invoke,
42
- inputs=[gr.Radio([1, 2, 3], label="Level", value=os.environ["INPUT_LEVEL"]),
43
  gr.Markdown(label="Question", value=os.environ["INPUT_QUESTION"]),
44
  gr.Textbox(label="File Name"),
45
  gr.Textbox(label="Ground Truth", value=os.environ["INPUT_GROUND_TRUTH"]),
 
39
  gr.close_all()
40
 
41
  demo = gr.Interface(fn=invoke,
42
+ inputs=[gr.Radio([1, 2, 3], label="Level", int(value=os.environ["INPUT_LEVEL"])),
43
  gr.Markdown(label="Question", value=os.environ["INPUT_QUESTION"]),
44
  gr.Textbox(label="File Name"),
45
  gr.Textbox(label="Ground Truth", value=os.environ["INPUT_GROUND_TRUTH"]),