Spaces:
Runtime error
Runtime error
Tolga
commited on
Commit
•
159e685
1
Parent(s):
bf9cfc9
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
model = pipeline(task="sentiment-analysis", model="tkurtulus/
|
6 |
|
7 |
def sentiment_analysis(text):
|
8 |
res = model(text)[0]
|
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
model = pipeline(task="sentiment-analysis", model="tkurtulus/TurkishAirlines-SentimentAnalysisModel")
|
6 |
|
7 |
def sentiment_analysis(text):
|
8 |
res = model(text)[0]
|