Spaces:
Paused
Paused
Commit
·
b0e586c
1
Parent(s):
af0e4ed
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ def generate_text(prompt):
|
|
189 |
generated_content = split_text[1].strip()
|
190 |
|
191 |
prediction = generated_content.split("[/]")[0]
|
192 |
-
|
193 |
|
194 |
text_generation_interface = gr.Interface(
|
195 |
fn=generate_text,
|
|
|
189 |
generated_content = split_text[1].strip()
|
190 |
|
191 |
prediction = generated_content.split("[/]")[0]
|
192 |
+
return prediction
|
193 |
|
194 |
text_generation_interface = gr.Interface(
|
195 |
fn=generate_text,
|