Spaces:
Sleeping
Sleeping
Commit
·
49f5e8c
1
Parent(s):
249c00e
Improve text
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def generate_content_str(api_key, prompt, pil_image, tries=PROMPT_RETRYIES):
|
|
108 |
|
109 |
# Define the Gradio interface
|
110 |
with gr.Blocks(title="Gemini 2.5 Pro Explore") as demo:
|
111 |
-
gr.Markdown("# Image Analysis with Gemini 2.5 Pro")
|
112 |
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
@@ -119,6 +119,7 @@ with gr.Blocks(title="Gemini 2.5 Pro Explore") as demo:
|
|
119 |
type="password",
|
120 |
)
|
121 |
image_input = gr.Image(label="Upload an image", type="pil")
|
|
|
122 |
prompt_input = gr.TextArea(
|
123 |
label="Enter your prompt",
|
124 |
placeholder="Describe what you want to analyze...",
|
|
|
108 |
|
109 |
# Define the Gradio interface
|
110 |
with gr.Blocks(title="Gemini 2.5 Pro Explore") as demo:
|
111 |
+
gr.Markdown("# Image Analysis with Gemini 2.5 Pro + BioCLIP")
|
112 |
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
|
|
119 |
type="password",
|
120 |
)
|
121 |
image_input = gr.Image(label="Upload an image", type="pil")
|
122 |
+
gr.Markdown("The prompt below must request bounding boxes.")
|
123 |
prompt_input = gr.TextArea(
|
124 |
label="Enter your prompt",
|
125 |
placeholder="Describe what you want to analyze...",
|