Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ input1 = Textbox(lines=2, placeholder="Type your text here...")
|
|
20 |
|
21 |
# Create a Gradio interface
|
22 |
iface = gr.Interface(fn=predict_sentiment,
|
23 |
-
inputs=input1
|
24 |
outputs="text",
|
25 |
title="Talk2Loop Sensitive statement tags",
|
26 |
description="This model predicts the sensitivity of the input text. Enter a sentence to see if it's sensitive or not.")
|
|
|
20 |
|
21 |
# Create a Gradio interface
|
22 |
iface = gr.Interface(fn=predict_sentiment,
|
23 |
+
inputs=input1,
|
24 |
outputs="text",
|
25 |
title="Talk2Loop Sensitive statement tags",
|
26 |
description="This model predicts the sensitivity of the input text. Enter a sentence to see if it's sensitive or not.")
|