mou3az commited on
Commit
e06c9d7
·
verified ·
1 Parent(s): b339e9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,8 +51,8 @@ def generate_quiz_page():
51
  context = request.form.get("context")
52
  response = generate_quiz(context)
53
 
54
- if request.headers.get('Content-Type') == 'application/json':
55
- return jsonify(response)
56
 
57
 
58
  quiz_html = f"""
 
51
  context = request.form.get("context")
52
  response = generate_quiz(context)
53
 
54
+ # if request.headers.get('Content-Type') == 'application/json':
55
+ # return jsonify(response)
56
 
57
 
58
  quiz_html = f"""