Update app.py
Browse files
app.py
CHANGED
@@ -98,9 +98,6 @@ class MyBot:
|
|
98 |
|
99 |
#---------------------------------------------------------
|
100 |
|
101 |
-
import streamlit as st
|
102 |
-
import time
|
103 |
-
|
104 |
|
105 |
# App title
|
106 |
st.set_page_config(page_title="π€πΌ π²π¦ Financial advisor is Here",
|
@@ -125,7 +122,7 @@ for message in st.session_state.messages:
|
|
125 |
st.write(message["content"])
|
126 |
|
127 |
# Create an instance of LangChain
|
128 |
-
lc =
|
129 |
|
130 |
# Use the instance methods in your Streamlit application
|
131 |
def clear_chat_history():
|
|
|
98 |
|
99 |
#---------------------------------------------------------
|
100 |
|
|
|
|
|
|
|
101 |
|
102 |
# App title
|
103 |
st.set_page_config(page_title="π€πΌ π²π¦ Financial advisor is Here",
|
|
|
122 |
st.write(message["content"])
|
123 |
|
124 |
# Create an instance of LangChain
|
125 |
+
lc = MyBot("Data_blog.txt", "TheBloke/Mistral-7B-OpenOrca-GGUF", "mistral-7b-openorca.Q4_K_M.gguf")
|
126 |
|
127 |
# Use the instance methods in your Streamlit application
|
128 |
def clear_chat_history():
|