From 6ff98146eee059b04ee752a756fa723ec4de8c7d Mon Sep 17 00:00:00 2001 From: Pragati Verma Date: Mon, 12 Oct 2020 17:08:42 +0530 Subject: [PATCH 1/2] Feat Documentation - Added Demo Video Feat Documentation - Added Demo Video --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 648903c..d50bd27 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ This is a smart Quiz Generator that generates a dynamic quiz from any uploaded t ## WorkFlow ![workflow](https://user-images.githubusercontent.com/42115530/95686207-1111e300-0c1a-11eb-993a-766967b91c92.png) +## Demo Video + + MLH-Quizzet + + ## Technology Stack: From b8c945f1510f3573c7ef2ff05ce529e6373bf2a9 Mon Sep 17 00:00:00 2001 From: Kshitij Kotasthane Date: Thu, 15 Oct 2020 13:03:16 +0530 Subject: [PATCH 2/2] Removed global dict for questions, bound it to a local scope --- app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app.py b/app.py index 81d8b5a..de064f4 100644 --- a/app.py +++ b/app.py @@ -12,9 +12,6 @@ UPLOAD_FOLDER = './pdf/' app = Flask(__name__) app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER -# Global quiz object -questions = dict() - @ app.route('/') def index(): @@ -27,6 +24,7 @@ def quiz(): """ Handle upload and conversion of file + other stuff """ UPLOAD_STATUS = False + questions = dict() # Make directory to store uploaded files, if not exists if not os.path.isdir('./pdf'):