Spaces:
Sleeping
Sleeping
Update app/django_app/settings.py
Browse files
app/django_app/settings.py
CHANGED
@@ -24,8 +24,10 @@ SECRET_KEY = os.environ.get('SECRET_KEY', 'your-default-secret-key')
|
|
24 |
# SECURITY WARNING: don't run with debug turned on in production!
|
25 |
DEBUG = True
|
26 |
|
27 |
-
ALLOWED_HOSTS = ['
|
28 |
X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
|
|
|
|
|
29 |
|
30 |
CSRF_TRUSTED_ORIGINS = [
|
31 |
'https://ev6-emotions-recognition.hf.space',
|
|
|
24 |
# SECURITY WARNING: don't run with debug turned on in production!
|
25 |
DEBUG = True
|
26 |
|
27 |
+
ALLOWED_HOSTS = ['https://ev6-emotions-recognition.hf.space', 'https://huggingface.co/']
|
28 |
X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
|
29 |
+
X_FRAME_OPTIONS = 'ALLOW-FROM https://ev6-emotions-recognition.hf.space'
|
30 |
+
|
31 |
|
32 |
CSRF_TRUSTED_ORIGINS = [
|
33 |
'https://ev6-emotions-recognition.hf.space',
|