Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
llm-bootcamp-projects
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zaid
llm-bootcamp-projects
Commits
e836b1c4
Commit
e836b1c4
authored
Sep 21, 2023
by
zaid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final commits
parent
c180b90d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.py
Chat with your PDF/app.py
+2
-2
No files found.
Chat with your PDF/app.py
View file @
e836b1c4
...
...
@@ -25,7 +25,7 @@ def main():
st
.
session_state
.
answer
=
[]
st
.
header
(
"Chat with
multiple PDFs :books:
"
)
st
.
header
(
"Chat with
your Indexed PDFs
"
)
resonse_container
,
container
=
st
.
container
(),
st
.
container
()
with
container
:
...
...
@@ -41,7 +41,7 @@ def main():
os
.
environ
[
'OPENAI_API_KEY'
]
=
OPENAI_API_KEY
st
.
subheader
(
"Your documents"
)
pdf_docs
=
st
.
file_uploader
(
"Upload your PDFs here and click on 'Process'"
,
accept_multiple_files
=
True
)
"Upload your PDFs here and click on 'Process'"
,
accept_multiple_files
=
True
,
type
=
[
'pdf'
]
)
if
st
.
button
(
"Process"
):
with
st
.
spinner
(
"Processing"
):
# get pdf text
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment