Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,8 @@
|
|
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="
|
12 |
|
13 |
# Tiêu đề ứng dụng
|
14 |
st.markdown(
|
|
|
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="Explorer Chatbot", layout="wide")
|
6 |
|
7 |
# Tiêu đề ứng dụng
|
8 |
st.markdown(
|