Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -506,8 +506,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo: # START of the block
|
|
506 |
with gr.Row():
|
507 |
with gr.Column(scale=1):
|
508 |
clip_input_image = gr.Image(type="pil", label="Input Image")
|
509 |
-
clip_text_labels = gr.Textbox(label="Comma-Separated Labels",
|
510 |
-
# DEFINE the button
|
511 |
clip_button = gr.Button("Run CLIP Classification", variant="primary")
|
512 |
with gr.Column(scale=1):
|
513 |
clip_output_label = gr.Label(label="Classification Probabilities")
|
|
|
506 |
with gr.Row():
|
507 |
with gr.Column(scale=1):
|
508 |
clip_input_image = gr.Image(type="pil", label="Input Image")
|
509 |
+
clip_text_labels = gr.Textbox(label="Comma-Separated Labels", placeholder="e.g., astronaut, moon") # DEFINE the button
|
|
|
510 |
clip_button = gr.Button("Run CLIP Classification", variant="primary")
|
511 |
with gr.Column(scale=1):
|
512 |
clip_output_label = gr.Label(label="Classification Probabilities")
|