test
This commit is contained in:
4
main.py
4
main.py
@@ -207,8 +207,8 @@ def extract_text_from_url(url, timeout=10, verify=True):
|
||||
return "\n".join(content_text), time_t
|
||||
|
||||
# GPT_SERVER_URL = os.getenv('GPT_SERVER_URL', 'http://45.129.78.228:8484')
|
||||
GPT_SERVER_URL = os.getenv('GPT_SERVER_URL', 'http://172.17.0.1:8484')
|
||||
|
||||
# GPT_SERVER_URL = os.getenv('GPT_SERVER_URL', 'http://172.17.0.1:8484')
|
||||
GPT_SERVER_URL = os.getenv('GPT_SERVER_URL', 'http://127.0.0.1:8484')
|
||||
def gpt_response_message(content: str, name_promt: str):
|
||||
contentGPT = wp.get_promt(name_promt).replace('{content}', content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user