Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
from openai import OpenAI
|
4 |
from PyPDF2 import PdfReader
|
|
|
5 |
|
6 |
# source: eagle0504/document-search-q-series
|
7 |
def read_and_textify_advanced(files, chunk_size):
|
@@ -129,10 +130,14 @@ if selected_app == "1) Scrape PDFs":
|
|
129 |
st.write("1. Go to your organizations webpage")
|
130 |
st.divider()
|
131 |
|
132 |
-
st.write("2. Choose an section in the webpage")
|
|
|
|
|
|
|
|
|
133 |
st.divider()
|
134 |
|
135 |
-
st.markdown("3. Open a
|
136 |
|
137 |
|
138 |
if selected_app == "2) Create CSVs":
|
|
|
2 |
import pandas as pd
|
3 |
from openai import OpenAI
|
4 |
from PyPDF2 import PdfReader
|
5 |
+
from PIL import Image
|
6 |
|
7 |
# source: eagle0504/document-search-q-series
|
8 |
def read_and_textify_advanced(files, chunk_size):
|
|
|
130 |
st.write("1. Go to your organizations webpage")
|
131 |
st.divider()
|
132 |
|
133 |
+
st.write("2. Choose an section in the webpage (example below)")
|
134 |
+
|
135 |
+
image = Image.open('Example1.png')
|
136 |
+
st.image(image, use_column_width=True)
|
137 |
+
|
138 |
st.divider()
|
139 |
|
140 |
+
st.markdown("3. Open a new google doc")
|
141 |
|
142 |
|
143 |
if selected_app == "2) Create CSVs":
|