Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
| 2 |
from langchain.vectorstores import Chroma
|
| 3 |
from langchain.embeddings import HuggingFaceEmbeddings
|
| 4 |
from transformers import pipeline
|
|
@@ -26,7 +28,6 @@ qa_pipeline = pipeline("text2text-generation", model="google/flan-t5-base")
|
|
| 26 |
# ----------------------------
|
| 27 |
# Streamlit Config
|
| 28 |
# ----------------------------
|
| 29 |
-
st.set_page_config(page_title="KizDar Festival AI", layout="centered")
|
| 30 |
|
| 31 |
if "history" not in st.session_state:
|
| 32 |
st.session_state.history = []
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
st.set_page_config(page_title="KizDar Festival AI", layout="centered")
|
| 3 |
+
|
| 4 |
from langchain.vectorstores import Chroma
|
| 5 |
from langchain.embeddings import HuggingFaceEmbeddings
|
| 6 |
from transformers import pipeline
|
|
|
|
| 28 |
# ----------------------------
|
| 29 |
# Streamlit Config
|
| 30 |
# ----------------------------
|
|
|
|
| 31 |
|
| 32 |
if "history" not in st.session_state:
|
| 33 |
st.session_state.history = []
|