bstraehle commited on
Commit
09e8d5f
·
verified ·
1 Parent(s): 5c4b25f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -153,15 +153,15 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
153
  value=DEFAULT_GROUND_TRUTH,
154
  interactive=True,
155
  lines=1,
156
- max_lines=1
157
  )
158
  file_name = gr.Textbox(
159
  label="File Name",
160
  value=DEFAULT_FILE_NAME,
161
  interactive=True,
162
- scale=2,
163
  lines=1,
164
- max_lines=1
 
165
  )
166
  file_link = gr.HTML(
167
  label="File Link",
@@ -173,12 +173,16 @@ 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
  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,6 +190,8 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
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():
 
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=1,
164
+ scale=2
165
  )
166
  file_link = gr.HTML(
167
  label="File Link",
 
173
  type="password",
174
  placeholder="sk‑...",
175
  value="*", # API keys are provided thanks to sponsor credit
176
+ lines=1,
177
+ max_lines=1,
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=1,
186
  interactive=True
187
  )
188
  anthropic_api_key = gr.Textbox(
 
190
  type="password",
191
  placeholder="sk-ant-...",
192
  value="*", # API keys are provided thanks to sponsor credit
193
+ lines=1,
194
+ max_lines=1,
195
  interactive=True
196
  )
197
  with gr.Row():