Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
53a98fd
1
Parent(s):
7524c65
Rely on `os.getenv("SPACE_ID")` instead of HF_ID (#26)
Browse files- Rely on `os.getenv("SPACE_ID")` (46fae5e70817d6ee63bbdab010ba3f6aea14d817)
Co-authored-by: Lucain Pouget <[email protected]>
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')
|