TrLOX commited on
Commit
0a7a5c3
·
1 Parent(s): fc6e0e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"