Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -187,6 +187,7 @@ def chat_with_file_contents(prompt, file_content, model_choice='gpt-3.5-turbo'):
|
|
187 |
return response['choices'][0]['message']['content']
|
188 |
|
189 |
def pdf2txt(pdf_docs):
|
|
|
190 |
text = ""
|
191 |
for pdf in pdf_docs:
|
192 |
pdf_reader = PdfReader(pdf)
|
|
|
187 |
return response['choices'][0]['message']['content']
|
188 |
|
189 |
def pdf2txt(pdf_docs):
|
190 |
+
st.write(pdf_docs)
|
191 |
text = ""
|
192 |
for pdf in pdf_docs:
|
193 |
pdf_reader = PdfReader(pdf)
|