Update app.py
Browse files
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",
|
278 |
base_url = gr.Textbox(label="Base URL (optional)", value="https://api.claudeshop.top/v1")
|
279 |
-
image_input = gr.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 |
|