Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ def analyze_composite(uploaded_file, *texts):
|
|
229 |
return "\n".join(outputs)
|
230 |
|
231 |
# ——— 6) Gradio Interface ————————————————————————————————————————————————
|
232 |
-
message_inputs = [gr.Textbox(label=f"Message {i+1}") for i in range(
|
233 |
iface = gr.Interface(
|
234 |
fn=analyze_composite,
|
235 |
inputs=[gr.File(file_types=[".txt", ".png", ".jpg", ".jpeg"], label="Upload text or image")] + message_inputs,
|
|
|
229 |
return "\n".join(outputs)
|
230 |
|
231 |
# ——— 6) Gradio Interface ————————————————————————————————————————————————
|
232 |
+
message_inputs = [gr.Textbox(label=f"Message {i+1}") for i in range(1)]
|
233 |
iface = gr.Interface(
|
234 |
fn=analyze_composite,
|
235 |
inputs=[gr.File(file_types=[".txt", ".png", ".jpg", ".jpeg"], label="Upload text or image")] + message_inputs,
|