Spaces:
Runtime error
Runtime error
File size: 677 Bytes
68c32d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
## Make Question and Answer from your PDF
### Setup Environment:
1. Create an account in https://openai.com/ and generate your own API_KEY
2. Download the following libraries and packages:
a. !pip install langchain
b. !pip install pypdf
c. !pip install transformers==4.33.1
This particular package will install the following dependencies:
1. huggingface-hub-0.17.1
2. safetensors-0.3.3
3. tokenizers-0.13.3
d. !pip install gradio
### Run the System
1. Run the file:
```
python3 app.py
```
2. Copy the url from terminal and paste in the browser
3. Upload your PDF & Get the Questions from each page of the PDF
|