Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Rely on `os.getenv("SPACE_ID")` instead of HF_ID
#26
by
Wauplin
HF staff
- opened
app.py
CHANGED
@@ -39,7 +39,7 @@ AVAILABLE_MODELS = {
|
|
39 |
'MetaVoice': 'metavoice'
|
40 |
}
|
41 |
|
42 |
-
SPACE_ID = os.getenv('
|
43 |
MAX_SAMPLE_TXT_LENGTH = 300
|
44 |
MIN_SAMPLE_TXT_LENGTH = 10
|
45 |
DB_DATASET_ID = os.getenv('DATASET_ID')
|
|
|
39 |
'MetaVoice': 'metavoice'
|
40 |
}
|
41 |
|
42 |
+
SPACE_ID = os.getenv('SPACE_ID')
|
43 |
MAX_SAMPLE_TXT_LENGTH = 300
|
44 |
MIN_SAMPLE_TXT_LENGTH = 10
|
45 |
DB_DATASET_ID = os.getenv('DATASET_ID')
|