Spaces:
Runtime error
Runtime error
Opdate
Browse files
app.py
CHANGED
@@ -5,5 +5,6 @@ pipe = SentimentPipeline("Tanor/SRGPTSENTPOS2", "Tanor/SRGPTSENTNEG2")
|
|
5 |
def calculate(text):
|
6 |
return pipe(text)
|
7 |
|
|
|
8 |
iface = gr.Interface(fn=calculate, inputs="text", outputs="text")
|
9 |
iface.launch()
|
|
|
5 |
def calculate(text):
|
6 |
return pipe(text)
|
7 |
|
8 |
+
|
9 |
iface = gr.Interface(fn=calculate, inputs="text", outputs="text")
|
10 |
iface.launch()
|