Abduuu commited on
Commit
929741d
·
verified ·
1 Parent(s): a8aa109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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)