Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Commit
•
9e2621c
1
Parent(s):
4c676f6
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import streamlit as st
|
2 |
-
from langchain_community.llms import HuggingFaceTextGenInference
|
3 |
import os
|
4 |
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
|
5 |
from langchain.schema import StrOutputParser
|
@@ -14,7 +13,6 @@ from langchain.prompts import ChatPromptTemplate, MessagesPlaceholder
|
|
14 |
from langchain_core.chat_history import BaseChatMessageHistory
|
15 |
from langchain.memory import ConversationBufferMemory#, PostgresChatMessageHistory
|
16 |
|
17 |
-
import psycopg2
|
18 |
import urllib.parse as up
|
19 |
|
20 |
# os.environ['LANGCHAIN_TRACING_V2'] = "true"
|
|
|
1 |
import streamlit as st
|
|
|
2 |
import os
|
3 |
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
|
4 |
from langchain.schema import StrOutputParser
|
|
|
13 |
from langchain_core.chat_history import BaseChatMessageHistory
|
14 |
from langchain.memory import ConversationBufferMemory#, PostgresChatMessageHistory
|
15 |
|
|
|
16 |
import urllib.parse as up
|
17 |
|
18 |
# os.environ['LANGCHAIN_TRACING_V2'] = "true"
|