Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,8 +149,10 @@ message_inputs = [gr.Textbox(label=f"Message {i+1}") for i in range(3)]
|
|
149 |
|
150 |
iface = gr.Interface(
|
151 |
fn=analyze_composite,
|
152 |
-
inputs=
|
153 |
-
|
|
|
|
|
154 |
outputs=gr.Textbox(label="Analysis"),
|
155 |
title="Tether Analyzer (with Tone Tags)",
|
156 |
description="Extracts motifs, emotions, patterns—and now an emotional tone tag—no abuse score or DARVO."
|
|
|
149 |
|
150 |
iface = gr.Interface(
|
151 |
fn=analyze_composite,
|
152 |
+
inputs=[
|
153 |
+
gr.File(file_types=[".txt", ".png", ".jpg", ".jpeg"],
|
154 |
+
label="Upload text or image")
|
155 |
+
] + message_inputs,
|
156 |
outputs=gr.Textbox(label="Analysis"),
|
157 |
title="Tether Analyzer (with Tone Tags)",
|
158 |
description="Extracts motifs, emotions, patterns—and now an emotional tone tag—no abuse score or DARVO."
|