alperbayram commited on
Commit
45fcd26
1 Parent(s): 4d3267c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,5 +8,5 @@ def greet(text):
8
  pipe = pipeline("sentiment-analysis", tokenizer=tokenizer, model=model)
9
  return pipe(text)[0]['label']
10
 
11
- iface = gr.Interface(fn=greet, inputs=gr.inputs.Textbox(placeholder="Lütfen Cümle Giriniz...", lines=5), outputs="Sonuc")
12
  iface.launch()
8
  pipe = pipeline("sentiment-analysis", tokenizer=tokenizer, model=model)
9
  return pipe(text)[0]['label']
10
 
11
+ iface = gr.Interface(fn=greet, inputs=gr.inputs.Textbox(placeholder="Lütfen Cümle Giriniz...", lines=5), outputs="text")
12
  iface.launch()