stzhao commited on
Commit
7eeb972
·
verified ·
1 Parent(s): feccc43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -448,8 +448,8 @@ def create_demo():
448
  choices=["gpt-4.1"],
449
  value="gpt-4.1"
450
  )
451
- # api_key = gr.Textbox(label="OpenAI API Key", type="password", value="sk-kBQuM0gvNBhOHmKz43b3iQut01bsOgg8Pv76eMKguu6jvncm")
452
- # base_url = gr.Textbox(label="Base URL (optional)", value="https://api.claudeshop.top/v1")
453
  image_input = gr.Image(label="Upload Image", type="pil")
454
  question = gr.Textbox(label="Question", placeholder="Ask a question about the image...")
455
  submit_btn = gr.Button("Submit")
 
448
  choices=["gpt-4.1"],
449
  value="gpt-4.1"
450
  )
451
+ api_key = gr.Textbox(label="OpenAI API Key", type="password", value="sk-xxx")
452
+ base_url = gr.Textbox(label="Base URL (optional)", value="xxx")
453
  image_input = gr.Image(label="Upload Image", type="pil")
454
  question = gr.Textbox(label="Question", placeholder="Ask a question about the image...")
455
  submit_btn = gr.Button("Submit")