Spaces:
Running
on
Zero
Running
on
Zero
Fix a bug
Browse files- constant.py +5 -3
constant.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
# Replace with your own backend
|
2 |
-
|
|
|
|
|
3 |
|
4 |
# Creds
|
5 |
-
USER =
|
6 |
-
PASSWORD = "
|
7 |
|
8 |
DEFAULT = [0, 0]
|
9 |
CONTRAST = [360, 0]
|
|
|
1 |
# Replace with your own backend
|
2 |
+
import os
|
3 |
+
|
4 |
+
BASE_URL = os.getenv("BASE_URL")
|
5 |
|
6 |
# Creds
|
7 |
+
USER = os.getenv("USER")
|
8 |
+
PASSWORD = os.getenv("PASSWORD")
|
9 |
|
10 |
DEFAULT = [0, 0]
|
11 |
CONTRAST = [360, 0]
|