Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
from langchain.text_splitter import (
|
3 |
CharacterTextSplitter,
|
4 |
RecursiveCharacterTextSplitter,
|
@@ -124,7 +125,7 @@ def handle_userinput(user_question):
|
|
124 |
|
125 |
|
126 |
def main():
|
127 |
-
|
128 |
st.title("๋ฌธ์์ ๋ํด ์ง๋ฌธํ๋ ์ฑํ
")
|
129 |
st.sidebar.title("๋ฌธ์ ์
๋ก๋")
|
130 |
st.sidebar.text("์ฌ๊ธฐ์ ์ฌ๋ฌ๋ถ์ ๋ฌธ์๋ฅผ ์
๋ก๋ํ์ธ์.")
|
|
|
1 |
import streamlit as st
|
2 |
+
from dotenv import load_dotenv
|
3 |
from langchain.text_splitter import (
|
4 |
CharacterTextSplitter,
|
5 |
RecursiveCharacterTextSplitter,
|
|
|
125 |
|
126 |
|
127 |
def main():
|
128 |
+
load_dotenv()
|
129 |
st.title("๋ฌธ์์ ๋ํด ์ง๋ฌธํ๋ ์ฑํ
")
|
130 |
st.sidebar.title("๋ฌธ์ ์
๋ก๋")
|
131 |
st.sidebar.text("์ฌ๊ธฐ์ ์ฌ๋ฌ๋ถ์ ๋ฌธ์๋ฅผ ์
๋ก๋ํ์ธ์.")
|