Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ def analyze(text):
|
|
9 |
return result
|
10 |
|
11 |
demo = gr.Interface(fn=analyze,
|
12 |
-
inputs="text",
|
13 |
-
outputs="text"
|
|
|
14 |
|
15 |
demo.launch(debug=True)
|
|
|
9 |
return result
|
10 |
|
11 |
demo = gr.Interface(fn=analyze,
|
12 |
+
inputs=[input="text", label="أدخل النص هنا"],
|
13 |
+
outputs=[input="text", label='النتائج'],
|
14 |
+
title = "تصتنيف المشاعر")
|
15 |
|
16 |
demo.launch(debug=True)
|