Spaces:
tsi-org
/
Runtime error

flavioschneider commited on
Commit
8790419
1 Parent(s): 8a1ba2b

fix: disable api key temporarily for secuirty problem

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def generate_voice(text, voice_name, model_name, api_key):
17
  text,
18
  voice=voice_name,
19
  model=model_name,
20
- api_key=api_key if api_key != '' else None
21
  )
22
  except UnauthenticatedRateLimitError as e:
23
  raise gr.Error("Thanks for trying out ElevenLabs TTS! You've reached the free tier limit. Please provide an API key to continue.")
 
17
  text,
18
  voice=voice_name,
19
  model=model_name,
20
+ api_key=None # api_key if api_key != '' else None #
21
  )
22
  except UnauthenticatedRateLimitError as e:
23
  raise gr.Error("Thanks for trying out ElevenLabs TTS! You've reached the free tier limit. Please provide an API key to continue.")