Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,9 @@ with gr.Blocks() as demo:
|
|
142 |
|
143 |
# Define the output component and add it to the layout
|
144 |
with gr.Row():
|
145 |
-
text_input = gr.
|
|
|
|
|
146 |
with gr.Row():
|
147 |
segment_checkbox = gr.Radio(["Segmentation", "Detection"], value="file",
|
148 |
label="Condition on a task (optional) Segmentation or Detection")
|
|
|
142 |
|
143 |
# Define the output component and add it to the layout
|
144 |
with gr.Row():
|
145 |
+
text_input = gr.Textbox(label="Prompt")
|
146 |
+
|
147 |
+
# text_input = gr.inputs.Textbox(label="Prompt")
|
148 |
with gr.Row():
|
149 |
segment_checkbox = gr.Radio(["Segmentation", "Detection"], value="file",
|
150 |
label="Condition on a task (optional) Segmentation or Detection")
|