Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,8 @@ from werkzeug.security import generate_password_hash, check_password_hash
|
|
| 8 |
import re
|
| 9 |
import uuid
|
| 10 |
|
|
|
|
|
|
|
| 11 |
def safe_filename(filename):
|
| 12 |
"""安全的文件名处理,支持中文"""
|
| 13 |
if not filename:
|
|
|
|
| 8 |
import re
|
| 9 |
import uuid
|
| 10 |
|
| 11 |
+
GRAPHICAL_API_TOKEN = os.getenv("GRAPHICAL_API_TOKEN")
|
| 12 |
+
|
| 13 |
def safe_filename(filename):
|
| 14 |
"""安全的文件名处理,支持中文"""
|
| 15 |
if not filename:
|