cxumol commited on
Commit
8bfb6c8
·
unverified ·
1 Parent(s): cdc8d8c

UI: add placeholder to quick configs

Browse files
Files changed (1) hide show
  1. app/app.py +2 -2
app/app.py CHANGED
@@ -213,7 +213,7 @@ with gr.Blocks(
213
  )
214
 
215
  with gr.Row():
216
- quick_config_cheapAI = gr.Textbox(label="Quick Config (JSON)")
217
  apply_cheap_btn = gr.Button("Apply Quick Config", variant="secondary")
218
 
219
  with gr.Group():
@@ -230,7 +230,7 @@ with gr.Blocks(
230
  )
231
 
232
  with gr.Row():
233
- quick_config_strongAI = gr.Textbox(label="Quick Config (JSON)")
234
  apply_strong_btn = gr.Button("Apply Quick Config", variant="secondary")
235
 
236
  with gr.Group():
 
213
  )
214
 
215
  with gr.Row():
216
+ quick_config_cheapAI = gr.Textbox(label="Quick Config (JSON)",placeholder='{"base":"https://api.example.com/v1",\n"key":"sk-",\n"model":"gpt-123"}')
217
  apply_cheap_btn = gr.Button("Apply Quick Config", variant="secondary")
218
 
219
  with gr.Group():
 
230
  )
231
 
232
  with gr.Row():
233
+ quick_config_strongAI = gr.Textbox(label="Quick Config (JSON)",placeholder='{"base":"https://api.example.com/v1",\n"key":"sk-",\n"model":"gpt-456"}')
234
  apply_strong_btn = gr.Button("Apply Quick Config", variant="secondary")
235
 
236
  with gr.Group():