Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,7 @@ def segment_image(input_image, text_input):
|
|
78 |
|
79 |
# Create Gradio components
|
80 |
input_image = gr.inputs.Image()
|
81 |
-
|
82 |
-
text_input = "text" # Use Textbox instead of Text
|
83 |
output_images = gr.outputs.JSON()
|
84 |
|
85 |
# Create a Gradio interface
|
|
|
78 |
|
79 |
# Create Gradio components
|
80 |
input_image = gr.inputs.Image()
|
81 |
+
text_input = gr.inputs.Textbox(label="Text Input") # Use Textbox instead of Text
|
|
|
82 |
output_images = gr.outputs.JSON()
|
83 |
|
84 |
# Create a Gradio interface
|