mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update webapp.py
This commit is contained in:
parent
0bd423fc27
commit
c6742fbf22
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ def search():
|
||||||
gpt = gpt_json['choices'][0]['text']
|
gpt = gpt_json['choices'][0]['text']
|
||||||
for word in gpt.split('\n'):
|
for word in gpt.split('\n'):
|
||||||
if word != "":
|
if word != "":
|
||||||
gpt = word
|
gpt = word.replace("\"","").replace("\'","").replace("“","").replace("”","").replace("‘","").replace("’","")
|
||||||
break
|
break
|
||||||
if gpt!="":
|
if gpt!="":
|
||||||
search_query.query = gpt
|
search_query.query = gpt
|
||||||
|
|
Loading…
Add table
Reference in a new issue