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