gokulp06 commited on
Commit
cc286f2
1 Parent(s): f91cc1e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -0
app.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from Test import get_few_shot_db_chain
3
+
4
+ st.image('/Users/gokul/Desktop/Believe/Projects/langchain/Main/images/Staples_logo_PNG5.png', caption='Business is Human')
5
+
6
+ question = st.text_input("Question: ")
7
+
8
+ if question:
9
+ chain = get_few_shot_db_chain()
10
+ response = chain.run(question)
11
+
12
+ st.header("Answer")
13
+ st.write(response)
14
+
15
+
16
+
17
+
18
+
19
+