Karzan commited on
Commit
1994c9d
·
verified ·
1 Parent(s): 276a180

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
 
2
 
3
  # Load the interface from the specified space
4
- interface = gr.Interface.load("spaces/Karzan/Barnammer-TTS")
5
 
6
  # Launch the interface
7
  interface.launch()
 
1
  import gradio as gr
2
+ import os
3
 
4
  # Load the interface from the specified space
5
+ interface = gr.Interface.load("spaces/Karzan/Barnammer-TTS",api_key=os.getenv['HF_TOKEN'])
6
 
7
  # Launch the interface
8
  interface.launch()