sayakpaul HF staff commited on
Commit
3762a22
1 Parent(s): 379b9e6

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - stable-diffusion-3.5
4
+ - diffusers
5
+ - text-to-image
6
+ - endpoints-template
7
+ inference: false
8
+ ---
9
+
10
+ ```py
11
+ from handler import EndpointHandler
12
+
13
+ my_handler = EndpointHandler()
14
+ payload = {"inputs": {"prompt": "a dog waiting for its companion to come."}}
15
+
16
+ # test the handler
17
+ image = my_handler(payload)
18
+ image.save("image.png")
19
+ ```
20
+
21
+ ![](./image.png)