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