homegrownherbalist commited on
Commit
71308ea
·
1 Parent(s): 3b8bd42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,10 +2,10 @@ import os
2
  import gradio as gr
3
 
4
  # Get the API token from the environment variable
5
- api_token = os.environ.get("superdupersecretkey")
6
 
7
  # Load the interface from the private Space
8
- iface = gr.load(name="homegrownherbalist/chaunceybackend", src="spaces", api_key=api_token)
9
 
10
  # Launch the application
11
- iface.launch()
 
2
  import gradio as gr
3
 
4
  # Get the API token from the environment variable
5
+ hf_token = os.environ.get("superdupersecretkey")
6
 
7
  # Load the interface from the private Space
8
+ potatoEatingFootfungusFromTheBowelsOfTheUnderworldRuledByTheMadKingChauncey = gr.load(name="homegrownherbalist/chaunceybackend", src="spaces", hf_token=hf_token)
9
 
10
  # Launch the application
11
+ potatoEatingFootfungusFromTheBowelsOfTheUnderworldRuledByTheMadKingChauncey.launch()