rohan13 commited on
Commit
d7ab09b
1 Parent(s): f57f967

added cors

Browse files
__pycache__/app.cpython-39.pyc CHANGED
Binary files a/__pycache__/app.cpython-39.pyc and b/__pycache__/app.cpython-39.pyc differ
 
__pycache__/main.cpython-39.pyc CHANGED
Binary files a/__pycache__/main.cpython-39.pyc and b/__pycache__/main.cpython-39.pyc differ
 
__pycache__/utils.cpython-39.pyc CHANGED
Binary files a/__pycache__/utils.cpython-39.pyc and b/__pycache__/utils.cpython-39.pyc differ
 
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from flask import Flask, render_template
2
  from flask_socketio import SocketIO, emit
3
- from flask.ext.cors import cross_origin, CORS
4
  from main import run
5
 
6
  app = Flask(__name__)
 
1
  from flask import Flask, render_template
2
  from flask_socketio import SocketIO, emit
3
+ from flask_cors import cross_origin, CORS
4
  from main import run
5
 
6
  app = Flask(__name__)
requirements.txt CHANGED
@@ -4,4 +4,5 @@ beautifulsoup4
4
  PyPDF2
5
  openai
6
  flask
7
- flask-socketio
 
 
4
  PyPDF2
5
  openai
6
  flask
7
+ flask-socketio
8
+ flask-cors