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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ def analyze(text):
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)
 
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)