Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|