Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ def analyze(text):
|
|
8 |
return result
|
9 |
|
10 |
demo = gr.Interface(fn=analyze,
|
11 |
-
inputs="text",
|
12 |
-
outputs="text"
|
|
|
13 |
|
14 |
demo.launch(debug=True)
|
|
|
8 |
return result
|
9 |
|
10 |
demo = gr.Interface(fn=analyze,
|
11 |
+
inputs=[inputs="text", label="input text here"],
|
12 |
+
outputs="text",
|
13 |
+
title = "sentiment")
|
14 |
|
15 |
demo.launch(debug=True)
|