lpw commited on
Commit
34120a1
·
1 Parent(s): a6f2aa2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ for src in SRC_LIST:
20
 
21
  examples = []
22
 
23
- io_dict = {model: gr.Interface.load(f"huggingface/facebook/{model}", api_key=st.secrets["api_key"]) for model in MODEL_LIST}
24
 
25
  def inference(audio, model):
26
  out_audio = io_dict[model](audio)
 
20
 
21
  examples = []
22
 
23
+ io_dict = {model: gr.Interface.load(f"huggingface/facebook/{model}", api_key=os.environ['api_key']) for model in MODEL_LIST}
24
 
25
  def inference(audio, model):
26
  out_audio = io_dict[model](audio)