Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def text_generation(keywords, domain):
|
|
14 |
title_description_arr = generated_text[0].split(' title ')[1].split('description')
|
15 |
title = title_description_arr[0].strip()
|
16 |
description = title_description_arr[1].strip()
|
17 |
-
return title + "\r\n" + description
|
18 |
|
19 |
title = "TDK GPT2"
|
20 |
description = "Title and description generation by keywords"
|
|
|
14 |
title_description_arr = generated_text[0].split(' title ')[1].split('description')
|
15 |
title = title_description_arr[0].strip()
|
16 |
description = title_description_arr[1].strip()
|
17 |
+
return title + "\r\n\r\n" + description
|
18 |
|
19 |
title = "TDK GPT2"
|
20 |
description = "Title and description generation by keywords"
|