berrkkaayy commited on
Commit
5330866
1 Parent(s): a2a6566

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, share=True, inputs=gr.inputs.Textbox(placeholder="Lütfen Cümle Giriniz...", lines=5), outputs="text")
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(share=True)