Spaces:
Running
Running
Update app.py
Browse files
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')
|
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
|