Spaces:
Running
on
Zero
Running
on
Zero
hugohabicht01
commited on
Commit
·
1bc9fe1
1
Parent(s):
4341bf2
fix error
Browse files
app.py
CHANGED
@@ -281,9 +281,9 @@ with gr.Blocks() as demo:
|
|
281 |
with gr.Row():
|
282 |
with gr.Column(scale=1):
|
283 |
input_image = gr.Image(type="pil", label="Upload Image")
|
284 |
-
system_prompt_input = gr.Textbox(label="System Prompt", value=SYSTEM_PROMPT, lines=5, interactive=True
|
285 |
prompt_textbox = gr.Textbox(
|
286 |
-
label="Analysis Prompt", value=DEFAULT_PROMPT, lines=4,
|
287 |
)
|
288 |
analyze_button = gr.Button("Analyze Image")
|
289 |
with gr.Column(scale=2):
|
|
|
281 |
with gr.Row():
|
282 |
with gr.Column(scale=1):
|
283 |
input_image = gr.Image(type="pil", label="Upload Image")
|
284 |
+
system_prompt_input = gr.Textbox(label="System Prompt", value=SYSTEM_PROMPT, lines=5, interactive=True) # New system prompt input
|
285 |
prompt_textbox = gr.Textbox(
|
286 |
+
label="Analysis Prompt", value=DEFAULT_PROMPT, lines=4,
|
287 |
)
|
288 |
analyze_button = gr.Button("Analyze Image")
|
289 |
with gr.Column(scale=2):
|