Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CHEN11102
/
ai
like
0
Configuration error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
CHEN11102
commited on
Aug 16, 2024
Commit
6153c6f
·
verified
·
1 Parent(s):
0eab55a
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import replicate
2
+
3
+
deployment = replicate.deployments.get("jilll111/ai")
4
+
prediction = deployment.predictions.create(
5
+
input={"frame1": "..."}
6
+
)
7
+
prediction.wait()
8
+
print(prediction.output)