Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
removed SPACE_ID DB_ID overrides
Browse files
app.py
CHANGED
@@ -92,9 +92,6 @@ MIN_SAMPLE_TXT_LENGTH = 10
|
|
92 |
DB_DATASET_ID = os.getenv('DATASET_ID')
|
93 |
DB_NAME = "database.db"
|
94 |
|
95 |
-
SPACE_ID = 'Pendrokar/TTS-Arena'
|
96 |
-
DB_DATASET_ID = 'PenLocal'
|
97 |
-
|
98 |
# If /data available => means local storage is enabled => let's use it!
|
99 |
DB_PATH = f"/data/{DB_NAME}" if os.path.isdir("/data") else DB_NAME
|
100 |
print(f"Using {DB_PATH}")
|
|
|
92 |
DB_DATASET_ID = os.getenv('DATASET_ID')
|
93 |
DB_NAME = "database.db"
|
94 |
|
|
|
|
|
|
|
95 |
# If /data available => means local storage is enabled => let's use it!
|
96 |
DB_PATH = f"/data/{DB_NAME}" if os.path.isdir("/data") else DB_NAME
|
97 |
print(f"Using {DB_PATH}")
|