Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ english_translator = gr.load("models/arpanghoshal/EmoRoBERTa")
|
|
6 |
|
7 |
|
8 |
def generate_text(text):
|
9 |
-
|
10 |
return text
|
11 |
|
12 |
|
|
|
6 |
|
7 |
|
8 |
def generate_text(text):
|
9 |
+
text = english_translator(text)
|
10 |
return text
|
11 |
|
12 |
|