bstraehle commited on
Commit
35a22c0
Β·
verified Β·
1 Parent(s): c8ff2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -59,11 +59,12 @@ gaia.launch()
59
 
60
  examples = get_questions(QUESTION_FILE_PATH, QUESTION_LEVEL)
61
 
62
- with gr.Blocks(title="General AI Assistant - GAIA πŸ€–πŸ€πŸ€–") as gaia:
63
- gr.Markdown(f"## {os.environ.get('DESCRIPTION', '')}")
 
64
 
65
  with gr.Row():
66
- with gr.Column(scale=2, min_width=400):
67
  level = gr.Radio(
68
  choices=[1, 2, 3],
69
  label="Level",
@@ -87,7 +88,7 @@ with gr.Blocks(title="General AI Assistant - GAIA πŸ€–πŸ€πŸ€–") as gaia:
87
  type="password"
88
  )
89
  submit_btn = gr.Button("Submit")
90
- with gr.Column(scale=1, min_width=300):
91
  answer = gr.Textbox(
92
  label="Answer",
93
  lines=10,
 
59
 
60
  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(f"{os.environ.get('DESCRIPTION', '')}")
65
 
66
  with gr.Row():
67
+ with gr.Column():
68
  level = gr.Radio(
69
  choices=[1, 2, 3],
70
  label="Level",
 
88
  type="password"
89
  )
90
  submit_btn = gr.Button("Submit")
91
+ with gr.Column():
92
  answer = gr.Textbox(
93
  label="Answer",
94
  lines=10,