aminaj commited on
Commit
7f5375b
·
verified ·
1 Parent(s): f4ea9ad

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
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 binary path
375
  # ngrok.set_ngrok_path(os.path.expanduser("~/.ngrok2/ngrok"))
376
  conf.get_default().ngrok_path = "/usr/local/bin/ngrok"
 
371
 
372
  return response
373
 
374
+ # Set HOME environment variable
375
+ os.environ["HOME"] = "/app"
376
+
377
  # Set ngrok binary path
378
  # ngrok.set_ngrok_path(os.path.expanduser("~/.ngrok2/ngrok"))
379
  conf.get_default().ngrok_path = "/usr/local/bin/ngrok"