bezprzesadyco commited on
Commit
65809df
·
verified ·
1 Parent(s): f914af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ As of January 31st, 2025, Kokoro was the most-liked [**TTS model**](https://hugg
163
 
164
  This demo only showcases English, but you can directly use the model to access other languages.
165
  '''
166
- API_OPEN = True
167
  API_NAME = None if API_OPEN else False
168
  with gr.Blocks() as app:
169
  with gr.Row():
 
163
 
164
  This demo only showcases English, but you can directly use the model to access other languages.
165
  '''
166
+ API_OPEN = os.getenv('SPACE_ID') != 'hexgrad/Kokoro-TTS'
167
  API_NAME = None if API_OPEN else False
168
  with gr.Blocks() as app:
169
  with gr.Row():