porntech commited on
Commit
901f5e0
1 Parent(s): d26e826

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
  with gr.Blocks() as demo:
4
  with gr.Tab("sex position classifier for video"):
5
- gr.load("porntech/sex-position-classifier", src="spaces")
6
 
7
  demo.launch()
 
1
  import gradio as gr
2
+ import os
3
 
4
  with gr.Blocks() as demo:
5
  with gr.Tab("sex position classifier for video"):
6
+ gr.load("porntech/sex-position-classifier", src="spaces", hf_token=os.environ["PORNTECH_SECRET"])
7
 
8
  demo.launch()