anhkhoiphan commited on
Commit
ee60208
·
verified ·
1 Parent(s): 7685ac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,5 +1,11 @@
1
  import streamlit as st
2
  from chatbot.core import get_chat_response
 
 
 
 
 
 
3
 
4
  # Cấu hình giao diện Streamlit
5
  st.set_page_config(page_title="RangDong Chatbot", layout="wide")
 
1
  import streamlit as st
2
  from chatbot.core import get_chat_response
3
+ import subprocess
4
+
5
+
6
+ # Run chatbot.core before launching Streamlit
7
+ subprocess.run(["python", "-m", "chatbot.core"])
8
+
9
 
10
  # Cấu hình giao diện Streamlit
11
  st.set_page_config(page_title="RangDong Chatbot", layout="wide")