Spaces:
Running
Running
Update server.py
Browse files
server.py
CHANGED
|
@@ -120,7 +120,7 @@ detectOutput = []
|
|
| 120 |
app = Flask(__name__, template_folder="templates", static_folder="static")
|
| 121 |
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
| 122 |
app.config['MAX_CONTENT_LENGTH'] = 500 * 1024 * 1024 # 500MB max file size
|
| 123 |
-
app.config['SECRET_KEY'] = '
|
| 124 |
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///users.db'
|
| 125 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
| 126 |
|
|
|
|
| 120 |
app = Flask(__name__, template_folder="templates", static_folder="static")
|
| 121 |
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
| 122 |
app.config['MAX_CONTENT_LENGTH'] = 500 * 1024 * 1024 # 500MB max file size
|
| 123 |
+
app.config['SECRET_KEY'] = 'truevision_super_secret_key_123' # Change this to a secure secret key
|
| 124 |
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///users.db'
|
| 125 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
| 126 |
|