Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import sqlite3
|
| 3 |
+
import uuid
|
| 4 |
+
import langchain
|
| 5 |
+
from langchain.models import GoogleGenerativeAI
|
| 6 |
+
from langchain_core.prompts import ChatPromptTemplate,MessagePlaceHolder
|
| 7 |
+
from langchain_core.output_parser import StrOutputParser
|
| 8 |
+
from langchain_community.chat_message_histories import SQLChatMessageHistory
|
| 9 |
+
from langchain-core.runnables.history import RunnablesWithMessageHistory
|
| 10 |
+
|
| 11 |
+
st.write('hello welecome to data science tutor')
|