Spaces:
Runtime error
Runtime error
Updated with HuggingFace Template
Browse files
README.md
CHANGED
@@ -1,8 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
## Make Question and Answer from your PDF
|
2 |
|
3 |
### Setup Environment:
|
4 |
|
5 |
-
1. Create an account
|
6 |
|
7 |
2. Download the following libraries and packages:
|
8 |
a. !pip install langchain
|
@@ -20,9 +29,6 @@
|
|
20 |
```
|
21 |
python3 app.py
|
22 |
```
|
23 |
-
2. Copy the
|
24 |
-
|
25 |
-
3. Upload your PDF & Get the Questions from each page of the PDF
|
26 |
-
|
27 |
-
|
28 |
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
title: Question & Answer Generator From Given PDF
|
4 |
+
sdk: gradio
|
5 |
+
emoji: 💻
|
6 |
+
colorFrom: blue
|
7 |
+
colorTo: yellow
|
8 |
+
pinned: true
|
9 |
+
---
|
10 |
## Make Question and Answer from your PDF
|
11 |
|
12 |
### Setup Environment:
|
13 |
|
14 |
+
1. Create an account at https://openai.com/ and generate your own API_KEY
|
15 |
|
16 |
2. Download the following libraries and packages:
|
17 |
a. !pip install langchain
|
|
|
29 |
```
|
30 |
python3 app.py
|
31 |
```
|
32 |
+
2. Copy the URL from the terminal and paste into the browser
|
|
|
|
|
|
|
|
|
33 |
|
34 |
+
3. Upload your PDF and get the Questions from each page of the PDF
|