Spaces:
Runtime error
Runtime error
Commit
·
5f12969
1
Parent(s):
400cc4e
updated with i think the correct approach
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
def greet(name):
|
5 |
-
return
|
6 |
|
7 |
pipe = pipeline('sentiment-analysis')
|
8 |
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
def greet(name):
|
5 |
+
return pipe
|
6 |
|
7 |
pipe = pipeline('sentiment-analysis')
|
8 |
|