jree423 commited on
Commit
b7fd1c0
·
verified ·
1 Parent(s): d756c43

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +30 -13
config.json CHANGED
@@ -1,17 +1,34 @@
1
  {
2
- "architectures": [
3
- "Pipeline"
4
- ],
5
- "model_type": "custom",
6
- "torch_dtype": "float32",
7
- "transformers_version": "4.25.1",
8
- "task_specific_params": {
9
- "text-to-image": {
10
- "prompt": "a cat sitting on a windowsill",
11
- "negative_prompt": "",
12
- "num_paths": 96,
13
- "guidance_scale": 7.5,
14
- "seed": 42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
16
  }
17
  }
 
1
  {
2
+ "model_type": "vector_graphics",
3
+ "name": "DiffSketcher",
4
+ "task": "text-to-image",
5
+ "parameters": {
6
+ "prompt": {
7
+ "type": "string",
8
+ "description": "Text description of the desired output",
9
+ "required": true
10
+ },
11
+ "negative_prompt": {
12
+ "type": "string",
13
+ "description": "Text to avoid in the generation",
14
+ "required": false
15
+ },
16
+ "num_paths": {
17
+ "type": "integer",
18
+ "description": "Number of paths in the SVG",
19
+ "required": false,
20
+ "default": 100
21
+ },
22
+ "guidance_scale": {
23
+ "type": "number",
24
+ "description": "Guidance scale for the diffusion model",
25
+ "required": false,
26
+ "default": 7.5
27
+ },
28
+ "seed": {
29
+ "type": "integer",
30
+ "description": "Random seed for reproducibility",
31
+ "required": false
32
  }
33
  }
34
  }