Update main.py
Browse files
main.py
CHANGED
@@ -371,6 +371,9 @@ async def get_answer_with_chat_history(llm: str, question: Question):
|
|
371 |
|
372 |
return response
|
373 |
|
|
|
|
|
|
|
374 |
# Set ngrok authentication token
|
375 |
ngrok.set_auth_token(os.environ['NGROK_AUTHTOKEN'])
|
376 |
|
|
|
371 |
|
372 |
return response
|
373 |
|
374 |
+
# Set ngrok binary path
|
375 |
+
ngrok.set_bin_dir(os.path.expanduser("~"))
|
376 |
+
|
377 |
# Set ngrok authentication token
|
378 |
ngrok.set_auth_token(os.environ['NGROK_AUTHTOKEN'])
|
379 |
|