Merge branch 'master' of https://github.com/PragatiVerma18/MLH-Quizzet into webapp
This commit is contained in:
commit
37e1587dce
@ -22,6 +22,12 @@ This is a smart Quiz Generator that generates a dynamic quiz from any uploaded t
|
|||||||
## WorkFlow
|
## WorkFlow
|
||||||

|

|
||||||
|
|
||||||
|
## Demo Video
|
||||||
|
<a href="https://youtu.be/74RrpcO89E0" target="_blank" rel="noopener">
|
||||||
|
<img src="https://user-images.githubusercontent.com/42115530/95742312-6c40e580-0cad-11eb-89a5-c2ee099bf8d7.png" alt="MLH-Quizzet"
|
||||||
|
title="MLH-Quizzet" width="400px" />
|
||||||
|
</a>
|
||||||
|
|
||||||
## Technology Stack:
|
## Technology Stack:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
4
app.py
4
app.py
@ -12,9 +12,6 @@ UPLOAD_FOLDER = './pdf/'
|
|||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
||||||
|
|
||||||
# Global quiz object
|
|
||||||
questions = dict()
|
|
||||||
|
|
||||||
|
|
||||||
@ app.route('/')
|
@ app.route('/')
|
||||||
def index():
|
def index():
|
||||||
@ -27,6 +24,7 @@ def quiz():
|
|||||||
""" Handle upload and conversion of file + other stuff """
|
""" Handle upload and conversion of file + other stuff """
|
||||||
|
|
||||||
UPLOAD_STATUS = False
|
UPLOAD_STATUS = False
|
||||||
|
questions = dict()
|
||||||
|
|
||||||
# Make directory to store uploaded files, if not exists
|
# Make directory to store uploaded files, if not exists
|
||||||
if not os.path.isdir('./pdf'):
|
if not os.path.isdir('./pdf'):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user