Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ examples = get_questions(QUESTION_FILE_PATH, QUESTION_LEVEL)
|
|
61 |
|
62 |
with gr.Blocks(title="GAIA") as gaia:
|
63 |
gr.Markdown("## General AI Assistant - GAIA π€π€π€")
|
64 |
-
gr.Markdown(
|
65 |
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
@@ -70,7 +70,7 @@ with gr.Blocks(title="GAIA") as gaia:
|
|
70 |
label="Level",
|
71 |
value=int(os.environ.get("INPUT_LEVEL", 1))
|
72 |
)
|
73 |
-
question = gr.
|
74 |
label="Question *",
|
75 |
value=os.environ.get("INPUT_QUESTION", "")
|
76 |
)
|
@@ -89,11 +89,11 @@ with gr.Blocks(title="GAIA") as gaia:
|
|
89 |
type="password"
|
90 |
)
|
91 |
with gr.Row():
|
92 |
-
submit_btn = gr.Button("Submit", variant="primary")
|
93 |
clear_btn = gr.ClearButton(
|
94 |
components=[level, question, file_name, ground_truth, openai_api_key, gemini_api_key],
|
95 |
value="Clear"
|
96 |
)
|
|
|
97 |
with gr.Column():
|
98 |
answer = gr.Textbox(
|
99 |
label="Answer",
|
|
|
61 |
|
62 |
with gr.Blocks(title="GAIA") as gaia:
|
63 |
gr.Markdown("## General AI Assistant - GAIA π€π€π€")
|
64 |
+
gr.Markdown(os.environ.get("DESCRIPTION", ""))
|
65 |
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
|
|
70 |
label="Level",
|
71 |
value=int(os.environ.get("INPUT_LEVEL", 1))
|
72 |
)
|
73 |
+
question = gr.Markdown
|
74 |
label="Question *",
|
75 |
value=os.environ.get("INPUT_QUESTION", "")
|
76 |
)
|
|
|
89 |
type="password"
|
90 |
)
|
91 |
with gr.Row():
|
|
|
92 |
clear_btn = gr.ClearButton(
|
93 |
components=[level, question, file_name, ground_truth, openai_api_key, gemini_api_key],
|
94 |
value="Clear"
|
95 |
)
|
96 |
+
submit_btn = gr.Button("Submit", variant="primary")
|
97 |
with gr.Column():
|
98 |
answer = gr.Textbox(
|
99 |
label="Answer",
|