Update app.py
Browse files
app.py
CHANGED
@@ -71,19 +71,21 @@ with gr.Blocks(title="GAIA") as gaia:
|
|
71 |
value=os.environ.get("INPUT_QUESTION", "")
|
72 |
)
|
73 |
with gr.Row():
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
|
|
|
|
87 |
with gr.Row():
|
88 |
openai_api_key = gr.Textbox(
|
89 |
label="OpenAI API Key *",
|
|
|
71 |
value=os.environ.get("INPUT_QUESTION", "")
|
72 |
)
|
73 |
with gr.Row():
|
74 |
+
level = gr.Radio(
|
75 |
+
choices=[1, 2, 3],
|
76 |
+
label="Level",
|
77 |
+
value=int(os.environ.get("INPUT_LEVEL", 1)),
|
78 |
+
scale=1
|
79 |
+
)
|
80 |
+
ground_truth = gr.Textbox(
|
81 |
+
label="Ground Truth",
|
82 |
+
value=os.environ.get("INPUT_GROUND_TRUTH", ""),
|
83 |
+
scale=1
|
84 |
+
)
|
85 |
+
file_name = gr.Textbox(
|
86 |
+
label="File Name",
|
87 |
+
scale=2
|
88 |
+
)
|
89 |
with gr.Row():
|
90 |
openai_api_key = gr.Textbox(
|
91 |
label="OpenAI API Key *",
|