bstraehle commited on
Commit
ac28ea9
·
verified ·
1 Parent(s): db0cb5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -4
app.py CHANGED
@@ -62,34 +62,41 @@ with gr.Blocks() as gaia:
62
  with gr.Column(scale=3):
63
  with gr.Row():
64
  question = gr.Textbox(
65
- label="Question *"
 
66
  )
67
  with gr.Row():
68
  level = gr.Radio(
69
  choices=[1, 2, 3],
70
  label="Level",
 
71
  scale=1
72
  )
73
  ground_truth = gr.Textbox(
74
  label="Ground Truth",
 
75
  scale=1
76
  )
77
  file_name = gr.Textbox(
78
  label="File Name",
 
79
  scale=2
80
  )
81
  with gr.Row():
82
  openai_api_key = gr.Textbox(
83
  label="OpenAI API Key *",
84
- type="password"
 
85
  )
86
  gemini_api_key = gr.Textbox(
87
  label="Gemini API Key *",
88
- type="password"
 
89
  )
90
  anthropic_api_key = gr.Textbox(
91
  label="Anthropic API Key *",
92
- type="password"
 
93
  )
94
  with gr.Row():
95
  clear_btn = gr.ClearButton(
 
62
  with gr.Column(scale=3):
63
  with gr.Row():
64
  question = gr.Textbox(
65
+ label="Question *",
66
+ interactive=True
67
  )
68
  with gr.Row():
69
  level = gr.Radio(
70
  choices=[1, 2, 3],
71
  label="Level",
72
+ interactive=True,
73
  scale=1
74
  )
75
  ground_truth = gr.Textbox(
76
  label="Ground Truth",
77
+ interactive=True,
78
  scale=1
79
  )
80
  file_name = gr.Textbox(
81
  label="File Name",
82
+ interactive=True,
83
  scale=2
84
  )
85
  with gr.Row():
86
  openai_api_key = gr.Textbox(
87
  label="OpenAI API Key *",
88
+ type="password",
89
+ interactive=True
90
  )
91
  gemini_api_key = gr.Textbox(
92
  label="Gemini API Key *",
93
+ type="password",
94
+ interactive=True
95
  )
96
  anthropic_api_key = gr.Textbox(
97
  label="Anthropic API Key *",
98
+ type="password",
99
+ interactive=True
100
  )
101
  with gr.Row():
102
  clear_btn = gr.ClearButton(