bstraehle commited on
Commit
3df4122
·
verified ·
1 Parent(s): 25b0f46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -152,14 +152,14 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
152
  label="Ground Truth",
153
  value=DEFAULT_GROUND_TRUTH,
154
  interactive=True,
155
- lines=1,
156
  max_lines=2
157
  )
158
  file_name = gr.Textbox(
159
  label="File Name",
160
  value=DEFAULT_FILE_NAME,
161
  interactive=True,
162
- lines=1,
163
  max_lines=2,
164
  scale=2
165
  )
@@ -173,16 +173,12 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
173
  type="password",
174
  placeholder="sk‑...",
175
  value="*", # API keys are provided thanks to sponsor credit
176
- lines=1,
177
- max_lines=2,
178
  interactive=True
179
  )
180
  gemini_api_key = gr.Textbox(
181
  label="Gemini API Key *",
182
  type="password",
183
  value="*", # API keys are provided thanks to sponsor credit
184
- lines=1,
185
- max_lines=2,
186
  interactive=True
187
  )
188
  anthropic_api_key = gr.Textbox(
@@ -190,8 +186,6 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
190
  type="password",
191
  placeholder="sk-ant-...",
192
  value="*", # API keys are provided thanks to sponsor credit
193
- lines=1,
194
- max_lines=2,
195
  interactive=True
196
  )
197
  with gr.Row():
 
152
  label="Ground Truth",
153
  value=DEFAULT_GROUND_TRUTH,
154
  interactive=True,
155
+ lines=2,
156
  max_lines=2
157
  )
158
  file_name = gr.Textbox(
159
  label="File Name",
160
  value=DEFAULT_FILE_NAME,
161
  interactive=True,
162
+ lines=2,
163
  max_lines=2,
164
  scale=2
165
  )
 
173
  type="password",
174
  placeholder="sk‑...",
175
  value="*", # API keys are provided thanks to sponsor credit
 
 
176
  interactive=True
177
  )
178
  gemini_api_key = gr.Textbox(
179
  label="Gemini API Key *",
180
  type="password",
181
  value="*", # API keys are provided thanks to sponsor credit
 
 
182
  interactive=True
183
  )
184
  anthropic_api_key = gr.Textbox(
 
186
  type="password",
187
  placeholder="sk-ant-...",
188
  value="*", # API keys are provided thanks to sponsor credit
 
 
189
  interactive=True
190
  )
191
  with gr.Row():