Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def load_questions_short():
|
|
72 |
return questions_short
|
73 |
|
74 |
def quad(query,file):
|
75 |
-
with open(file) as f:
|
76 |
paragraph = f.read()
|
77 |
questions = load_questions()
|
78 |
questions_short = load_questions_short()
|
|
|
72 |
return questions_short
|
73 |
|
74 |
def quad(query,file):
|
75 |
+
with open(file.name) as f:
|
76 |
paragraph = f.read()
|
77 |
questions = load_questions()
|
78 |
questions_short = load_questions_short()
|