NexusInstruments commited on
Commit
0c67422
·
verified ·
1 Parent(s): ffdab10

Update pages/Chatbot.py

Browse files
Files changed (1) hide show
  1. pages/Chatbot.py +6 -0
pages/Chatbot.py CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  import streamlit as st
2
  from utils.backend import run_llm
3
 
 
1
+ import sys, os
2
+ UTILS_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
3
+ if UTILS_PATH not in sys.path:
4
+ sys.path.append(UTILS_PATH)
5
+
6
+
7
  import streamlit as st
8
  from utils.backend import run_llm
9