Update app.py
Browse files
app.py
CHANGED
@@ -40,11 +40,11 @@ gr.close_all()
|
|
40 |
|
41 |
demo = gr.Interface(fn=invoke,
|
42 |
inputs=[gr.Radio([1, 2, 3], label="Level", value=int(os.environ["INPUT_LEVEL"])),
|
43 |
-
gr.Textbox(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"]),
|
46 |
-
gr.Textbox(label="OpenAI API Key", type="password"),
|
47 |
-
gr.Textbox(label="Gemini API Key", type="password")],
|
48 |
outputs=[gr.Textbox(label="Answer", lines=1, interactive=False, value=os.environ["OUTPUT"])],
|
49 |
title="General AI Assistant (GAIA) π€π€π€",
|
50 |
description=os.environ["DESCRIPTION"],
|
|
|
40 |
|
41 |
demo = gr.Interface(fn=invoke,
|
42 |
inputs=[gr.Radio([1, 2, 3], label="Level", value=int(os.environ["INPUT_LEVEL"])),
|
43 |
+
gr.Textbox(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"]),
|
46 |
+
gr.Textbox(label="OpenAI API Key *", type="password"),
|
47 |
+
gr.Textbox(label="Gemini API Key *", type="password")],
|
48 |
outputs=[gr.Textbox(label="Answer", lines=1, interactive=False, value=os.environ["OUTPUT"])],
|
49 |
title="General AI Assistant (GAIA) π€π€π€",
|
50 |
description=os.environ["DESCRIPTION"],
|