Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,9 @@ interface_words = gr.Interface(
|
|
76 |
|
77 |
pipe_S = pipeline("text2text-generation", model="DReAMy-lib/t5-base-DreamBank-Generation-Emot-Char")
|
78 |
def predict(text):
|
79 |
-
|
|
|
|
|
80 |
interface_model_S = gr.Interface(
|
81 |
fn=pipe_S,
|
82 |
inputs='text',
|
|
|
76 |
|
77 |
pipe_S = pipeline("text2text-generation", model="DReAMy-lib/t5-base-DreamBank-Generation-Emot-Char")
|
78 |
def predict(text):
|
79 |
+
t = pipe_S(text)
|
80 |
+
print(t)
|
81 |
+
return t
|
82 |
interface_model_S = gr.Interface(
|
83 |
fn=pipe_S,
|
84 |
inputs='text',
|