stzhao commited on
Commit
9812533
·
verified ·
1 Parent(s): 2b41b1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -440,16 +440,15 @@ def o3_chat(model_name, api_key, base_url, question, image):
440
 
441
  # Gradio界面
442
  def create_demo():
443
- with gr.Blocks(title="GPT-4.1 with Python Interpreter", css="div.prose * {color: black !important;}") as demo:
444
- gr.Markdown("# GPT-4.1 with Python Interpreter")
445
- gr.Markdown("please do not share to others")
446
- gr.Markdown("Upload an image and ask a question to get a response with code execution capabilities.")
447
 
448
  with gr.Row():
449
  with gr.Column(scale=1):
450
  model_name = gr.Dropdown(
451
  label="Model Selection",
452
- choices=["gpt-4.1", "gpt-4o", "o4-mini", "gemini-2.5-pro-preview-05-06", "claude-3-7-sonnet-latest", "claude-3-7-sonnet-thinking"],
453
  value="gpt-4.1"
454
  )
455
  api_key = gr.Textbox(label="OpenAI API Key", type="password", value="sk-kBQuM0gvNBhOHmKz43b3iQut01bsOgg8Pv76eMKguu6jvncm")
 
440
 
441
  # Gradio界面
442
  def create_demo():
443
+ with gr.Blocks(title="PyVision's Online Demo", css="div.prose * {color: black !important;}") as demo:
444
+ gr.Markdown("# PyVision's Online Demo")
445
+ gr.Markdown("Upload an image and ask a question to get a response via PyVision's dynamic tooling ability.")
 
446
 
447
  with gr.Row():
448
  with gr.Column(scale=1):
449
  model_name = gr.Dropdown(
450
  label="Model Selection",
451
+ choices=["gpt-4.1"],
452
  value="gpt-4.1"
453
  )
454
  api_key = gr.Textbox(label="OpenAI API Key", type="password", value="sk-kBQuM0gvNBhOHmKz43b3iQut01bsOgg8Pv76eMKguu6jvncm")