Spaces:
Runtime error
Runtime error
lagrangian
commited on
Commit
•
9750706
1
Parent(s):
4054021
added space
Browse files
app.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
2 |
#load your preffered model
|
3 |
app = gr.Interface.load(
|
4 |
-
"lagrangian/artist")
|
5 |
|
6 |
#launch
|
7 |
app.launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
+
|
4 |
#load your preffered model
|
5 |
app = gr.Interface.load(
|
6 |
+
"spaces/lagrangian/artist",api_key=os.environ['auth_token'])
|
7 |
|
8 |
#launch
|
9 |
app.launch()
|