decodemai commited on
Commit
018b873
1 Parent(s): 59fbbdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def getadline(text_inp):
112
  result = result.replace("Output:","")
113
  parts = result.split("###")
114
  topic = parts[0].strip()
115
- topic="\n".join(topic.split('\n')[:3])
116
 
117
  response_nsfw = requests.get('https://github.com/coffee-and-fun/google-profanity-words/raw/main/data/list.txt')
118
  data_nsfw = response_nsfw.text
 
112
  result = result.replace("Output:","")
113
  parts = result.split("###")
114
  topic = parts[0].strip()
115
+ topic="\n".join(topic.split('\n'))
116
 
117
  response_nsfw = requests.get('https://github.com/coffee-and-fun/google-profanity-words/raw/main/data/list.txt')
118
  data_nsfw = response_nsfw.text