stzhao commited on
Commit
de1ca6b
·
verified ·
1 Parent(s): fdbd92c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -274,9 +274,9 @@ def create_demo():
274
 
275
  with gr.Row():
276
  with gr.Column(scale=1):
277
- api_key = gr.Textbox(label="OpenAI API Key", type="password", value="sk-ugYYFZhjv7FIfjqRWpDYU3rqZTK2YnPPCVXoErmIAk3YJSrt")
278
  base_url = gr.Textbox(label="Base URL (optional)", value="https://api.claudeshop.top/v1")
279
- image_input = gr.Image(type="pil", label="Upload Image")
280
  question = gr.Textbox(label="Question", placeholder="Ask a question about the image...")
281
  submit_btn = gr.Button("Submit")
282
 
 
274
 
275
  with gr.Row():
276
  with gr.Column(scale=1):
277
+ api_key = gr.Textbox(label="OpenAI API Key", value="sk-ugYYFZhjv7FIfjqRWpDYU3rqZTK2YnPPCVXoErmIAk3YJSrt")
278
  base_url = gr.Textbox(label="Base URL (optional)", value="https://api.claudeshop.top/v1")
279
+ image_input = gr.Image(label="Upload Image", type="pil")
280
  question = gr.Textbox(label="Question", placeholder="Ask a question about the image...")
281
  submit_btn = gr.Button("Submit")
282