sbapan41 commited on
Commit
559732e
·
verified ·
1 Parent(s): a1f1cc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ BANNER_TEXT = '''
165
 
166
  This demo only showcases English, but you can directly use the model to access other languages.
167
  '''
168
- API_OPEN = os.getenv('SPACE_ID') != 'Quantamhash/Qhash-TTS'
169
  API_NAME = None if API_OPEN else False
170
  with gr.Blocks() as app:
171
  with gr.Row():
 
165
 
166
  This demo only showcases English, but you can directly use the model to access other languages.
167
  '''
168
+ API_OPEN = True # Ensure API is open
169
  API_NAME = None if API_OPEN else False
170
  with gr.Blocks() as app:
171
  with gr.Row():