Spaces:
Runtime error
Runtime error
added cors
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- __pycache__/main.cpython-39.pyc +0 -0
- __pycache__/utils.cpython-39.pyc +0 -0
- app.py +1 -1
- requirements.txt +2 -1
__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
|
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
|