Update webapp.py
This commit is contained in:
parent
0bd423fc27
commit
c6742fbf22
@ -721,7 +721,7 @@ def search():
|
||||
gpt = gpt_json['choices'][0]['text']
|
||||
for word in gpt.split('\n'):
|
||||
if word != "":
|
||||
gpt = word
|
||||
gpt = word.replace("\"","").replace("\'","").replace("“","").replace("”","").replace("‘","").replace("’","")
|
||||
break
|
||||
if gpt!="":
|
||||
search_query.query = gpt
|
||||
|
Loading…
x
Reference in New Issue
Block a user