Spaces:
Runtime error
Runtime error
Kushwanth Chowday Kandala
commited on
Commit
•
c15629f
1
Parent(s):
8c993f6
update messages
Browse files
app.py
CHANGED
@@ -100,6 +100,7 @@ def promt_engineer(text):
|
|
100 |
st.divider()
|
101 |
st.markdown("*:red[Text Summary Generation]* on **:green[semantic search Retrieval data(Top 5 Ranks)]** ***(RAG)***.")
|
102 |
st.write(summary)
|
|
|
103 |
|
104 |
def chat_actions():
|
105 |
|
@@ -203,12 +204,12 @@ def create_embeddings():
|
|
203 |
|
204 |
with st.sidebar:
|
205 |
st.markdown("""
|
206 |
-
|
207 |
- upload pdf file to create embeddings using model on your own docs
|
208 |
- wait see success message on embeddings creation
|
209 |
- It Takes couple of mins after upload the pdf
|
210 |
-
- Now Chat with
|
211 |
-
- Generate Promted reponses on the upload pdf
|
212 |
- Provides summarized results and QA's using GPT models
|
213 |
""")
|
214 |
uploaded_files = st.file_uploader('Choose your .pdf file', type="pdf", accept_multiple_files=True, key="uploaded_files", on_change=create_embeddings)
|
|
|
100 |
st.divider()
|
101 |
st.markdown("*:red[Text Summary Generation]* on **:green[semantic search Retrieval data(Top 5 Ranks)]** ***(RAG)***.")
|
102 |
st.write(summary)
|
103 |
+
st.divider()
|
104 |
|
105 |
def chat_actions():
|
106 |
|
|
|
204 |
|
205 |
with st.sidebar:
|
206 |
st.markdown("""
|
207 |
+
***:red[Follow this steps]***
|
208 |
- upload pdf file to create embeddings using model on your own docs
|
209 |
- wait see success message on embeddings creation
|
210 |
- It Takes couple of mins after upload the pdf
|
211 |
+
- Now Chat with your documents with help of this RAG system
|
212 |
+
- It Generate Promted reponses on the upload pdf
|
213 |
- Provides summarized results and QA's using GPT models
|
214 |
""")
|
215 |
uploaded_files = st.file_uploader('Choose your .pdf file', type="pdf", accept_multiple_files=True, key="uploaded_files", on_change=create_embeddings)
|