ktllc commited on
Commit
44b5b14
·
1 Parent(s): ddfa967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,7 +78,8 @@ def segment_image(input_image, text_input):
78
 
79
  # Create Gradio components
80
  input_image = gr.inputs.Image()
81
- text_input = gr.inputs.Textbox() # Use Textbox instead of Text
 
82
  output_images = gr.outputs.JSON()
83
 
84
  # Create a Gradio interface
 
78
 
79
  # Create Gradio components
80
  input_image = gr.inputs.Image()
81
+ #text_input = gr.inputs.Textbox() # Use Textbox instead of Text
82
+ text_input = "text" # Use Textbox instead of Text
83
  output_images = gr.outputs.JSON()
84
 
85
  # Create a Gradio interface