Spaces:
Runtime error
Runtime error
alperbayram
commited on
Commit
•
45fcd26
1
Parent(s):
4d3267c
Update app.py
Browse files
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="
|
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()
|