Spaces:
Running
on
Zero
Running
on
Zero
Update feifeiui/feifeiui.py
Browse files- feifeiui/feifeiui.py +1 -9
feifeiui/feifeiui.py
CHANGED
@@ -178,13 +178,6 @@ def create_ui():
|
|
178 |
max_lines=12,
|
179 |
show_label=False,
|
180 |
container=False)
|
181 |
-
output_size = gr.Textbox(label="Output size",
|
182 |
-
max_lines=2,
|
183 |
-
show_label=False,
|
184 |
-
container=False)
|
185 |
-
output_img = gr.Image(label="Input Picture",
|
186 |
-
interactive=False,
|
187 |
-
show_label=False)
|
188 |
|
189 |
with gr.Column(scale=1, elem_id="col-container"):
|
190 |
gr.ChatInterface(
|
@@ -243,7 +236,6 @@ def create_ui():
|
|
243 |
florence_btn.click(
|
244 |
fn=feifeiflorence, # Function to run when the button is clicked
|
245 |
inputs=[input_img], # Input components for the function
|
246 |
-
outputs=[output_text,
|
247 |
-
output_img], # Output component for the function
|
248 |
)
|
249 |
return FeiFei
|
|
|
178 |
max_lines=12,
|
179 |
show_label=False,
|
180 |
container=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
with gr.Column(scale=1, elem_id="col-container"):
|
183 |
gr.ChatInterface(
|
|
|
236 |
florence_btn.click(
|
237 |
fn=feifeiflorence, # Function to run when the button is clicked
|
238 |
inputs=[input_img], # Input components for the function
|
239 |
+
outputs=[output_text], # Output component for the function
|
|
|
240 |
)
|
241 |
return FeiFei
|