mrfakename Wauplin HF staff commited on
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 <Wauplin@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ AVAILABLE_MODELS = {
39
  'MetaVoice': 'metavoice'
40
  }
41
 
42
- SPACE_ID = os.getenv('HF_ID')
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')