SynLayers commited on
Commit
0047829
·
verified ·
1 Parent(s): b6a8276

Upload demo/README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. demo/README.md +16 -0
demo/README.md CHANGED
@@ -7,8 +7,11 @@ sdk: gradio
7
  python_version: "3.10"
8
  app_file: app.py
9
  suggested_hardware: a100-large
 
 
10
  models:
11
  - SynLayers/Bbox-caption-8b
 
12
  pinned: false
13
  ---
14
 
@@ -21,6 +24,19 @@ This folder now contains a unified real-world inference demo:
21
  3. `demo/real_world_pipeline.py` stitches the two stages together for one uploaded image.
22
  4. `demo/app.py` provides a Gradio interface that can be used locally or adapted for a Hugging Face Space.
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ## Local Run
25
 
26
  From the `SynLayers` root:
 
7
  python_version: "3.10"
8
  app_file: app.py
9
  suggested_hardware: a100-large
10
+ startup_duration_timeout: 2h
11
+ short_description: "GPU Space for SynLayers real-world layer decomposition"
12
  models:
13
  - SynLayers/Bbox-caption-8b
14
+ - black-forest-labs/FLUX.1-dev
15
  pinned: false
16
  ---
17
 
 
24
  3. `demo/real_world_pipeline.py` stitches the two stages together for one uploaded image.
25
  4. `demo/app.py` provides a Gradio interface that can be used locally or adapted for a Hugging Face Space.
26
 
27
+ ## Full GPU Space
28
+
29
+ For a production Hugging Face Space, use GPU hardware and set:
30
+
31
+ ```text
32
+ SYNLAYERS_MODEL_REPO=SynLayers/Bbox-caption-8b
33
+ ```
34
+
35
+ This lets the Space:
36
+
37
+ - load the bbox detector from your uploaded model repo root
38
+ - load SynLayers Pipeline
39
+
40
  ## Local Run
41
 
42
  From the `SynLayers` root: