Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ for model in models:
|
|
46 |
|
47 |
|
48 |
def text_it(inputs,text_gen=generate):
|
49 |
-
return text_gen(inputs)[0]
|
50 |
|
51 |
|
52 |
def set_model(current_model_index):
|
|
|
46 |
|
47 |
|
48 |
def text_it(inputs,text_gen=generate):
|
49 |
+
return text_gen(inputs).split('\n\n')[0]
|
50 |
|
51 |
|
52 |
def set_model(current_model_index):
|