adamelliotfields commited on
Commit
2e278ad
1 Parent(s): ba33983

Rename app

Browse files
Files changed (4) hide show
  1. README.md +8 -6
  2. app.css +0 -3
  3. app.py +1 -1
  4. partials/intro.html +2 -2
README.md CHANGED
@@ -1,9 +1,10 @@
1
  ---
2
- title: Stable Diffusion Zero
3
- short_description: SD 1.5 on ZeroGPU
4
- emoji: 😻
5
- colorFrom: yellow
6
- colorTo: blue
 
7
  sdk: gradio
8
  sdk_version: 4.39.0
9
  python_version: 3.11.9
@@ -42,7 +43,7 @@ preload_from_hub:
42
 
43
  # diffusion
44
 
45
- Gradio-based Stable Diffusion 1.5 app on ZeroGPU.
46
 
47
  ## Usage
48
 
@@ -65,4 +66,5 @@ python app.py
65
  - [ ] Hires fix
66
  - [ ] Support LoRA
67
  - [ ] Metadata embed and display
 
68
  - [ ] Latent preview
 
1
  ---
2
+ # https://huggingface.co/docs/hub/en/spaces-config-reference
3
+ title: Diffusion Zero
4
+ short_description: Image generation studio on ZeroGPU
5
+ emoji: 🧨
6
+ colorFrom: blue
7
+ colorTo: purple
8
  sdk: gradio
9
  sdk_version: 4.39.0
10
  python_version: 3.11.9
 
43
 
44
  # diffusion
45
 
46
+ Gradio-based UI for Stable Diffusion pipelines.
47
 
48
  ## Usage
49
 
 
66
  - [ ] Hires fix
67
  - [ ] Support LoRA
68
  - [ ] Metadata embed and display
69
+ - [ ] Image-to-image
70
  - [ ] Latent preview
app.css CHANGED
@@ -104,9 +104,6 @@
104
  overflow-y: auto;
105
  padding: 0 0 8px;
106
  }
107
- .tabitem .markdown {
108
- padding-left: 12px;
109
- }
110
  .tab-nav {
111
  margin-bottom: 16px;
112
  }
 
104
  overflow-y: auto;
105
  padding: 0 0 8px;
106
  }
 
 
 
107
  .tab-nav {
108
  margin-bottom: 16px;
109
  }
app.py CHANGED
@@ -266,7 +266,7 @@ with gr.Blocks(
266
  # ensure correct argument order
267
  generate_btn.click(
268
  generate_btn_click,
269
- api_name="generate",
270
  concurrency_limit=5,
271
  outputs=[output_images],
272
  inputs=[
 
266
  # ensure correct argument order
267
  generate_btn.click(
268
  generate_btn_click,
269
+ api_name="api",
270
  concurrency_limit=5,
271
  outputs=[output_images],
272
  inputs=[
partials/intro.html CHANGED
@@ -1,11 +1,11 @@
1
  <div id="intro">
2
  <div>
3
  <h1>
4
- Stable Diffusion&nbsp;<span>Zero</span>
5
  </h1>
6
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 15 15">
7
  <path d="M7.48877 6.75C7.29015 6.75 7.09967 6.82902 6.95923 6.96967C6.81879 7.11032 6.73989 7.30109 6.73989 7.5C6.73989 7.69891 6.81879 7.88968 6.95923 8.03033C7.09967 8.17098 7.29015 8.25 7.48877 8.25C7.68738 8.25 7.87786 8.17098 8.0183 8.03033C8.15874 7.88968 8.23764 7.69891 8.23764 7.5C8.23764 7.30109 8.15874 7.11032 8.0183 6.96967C7.87786 6.82902 7.68738 6.75 7.48877 6.75ZM7.8632 0C11.2331 0 11.3155 2.6775 9.54818 3.5625C8.80679 3.93 8.47728 4.7175 8.335 5.415C8.69446 5.565 9.00899 5.7975 9.24863 6.0975C12.0195 4.5975 15 5.19 15 7.875C15 11.25 12.3265 11.325 11.4428 9.5475C11.0684 8.805 10.2746 8.475 9.57813 8.3325C9.42836 8.6925 9.19621 9 8.89665 9.255C10.3869 12.0225 9.79531 15 7.11433 15C3.74438 15 3.67698 12.315 5.44433 11.43C6.17823 11.0625 6.50774 10.2825 6.65751 9.5925C6.29056 9.4425 5.96855 9.2025 5.72891 8.9025C2.96555 10.3875 0 9.8025 0 7.125C0 3.75 2.666 3.6675 3.54967 5.445C3.92411 6.1875 4.71043 6.51 5.40689 6.6525C5.54918 6.2925 5.78882 5.9775 6.09586 5.7375C4.60559 2.97 5.1972 0 7.8632 0Z"></path>
8
  </svg>
9
  </div>
10
- <p>Stable Diffusion 1.5 powered by 🤗 <a href="https://huggingface.co/spaces/zero-gpu-explorers/README" target="_blank" rel="noopener noreferrer">ZeroGPU</a>.</p>
11
  </div>
 
1
  <div id="intro">
2
  <div>
3
  <h1>
4
+ Diffusion&nbsp;<span>Zero</span>
5
  </h1>
6
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 15 15">
7
  <path d="M7.48877 6.75C7.29015 6.75 7.09967 6.82902 6.95923 6.96967C6.81879 7.11032 6.73989 7.30109 6.73989 7.5C6.73989 7.69891 6.81879 7.88968 6.95923 8.03033C7.09967 8.17098 7.29015 8.25 7.48877 8.25C7.68738 8.25 7.87786 8.17098 8.0183 8.03033C8.15874 7.88968 8.23764 7.69891 8.23764 7.5C8.23764 7.30109 8.15874 7.11032 8.0183 6.96967C7.87786 6.82902 7.68738 6.75 7.48877 6.75ZM7.8632 0C11.2331 0 11.3155 2.6775 9.54818 3.5625C8.80679 3.93 8.47728 4.7175 8.335 5.415C8.69446 5.565 9.00899 5.7975 9.24863 6.0975C12.0195 4.5975 15 5.19 15 7.875C15 11.25 12.3265 11.325 11.4428 9.5475C11.0684 8.805 10.2746 8.475 9.57813 8.3325C9.42836 8.6925 9.19621 9 8.89665 9.255C10.3869 12.0225 9.79531 15 7.11433 15C3.74438 15 3.67698 12.315 5.44433 11.43C6.17823 11.0625 6.50774 10.2825 6.65751 9.5925C6.29056 9.4425 5.96855 9.2025 5.72891 8.9025C2.96555 10.3875 0 9.8025 0 7.125C0 3.75 2.666 3.6675 3.54967 5.445C3.92411 6.1875 4.71043 6.51 5.40689 6.6525C5.54918 6.2925 5.78882 5.9775 6.09586 5.7375C4.60559 2.97 5.1972 0 7.8632 0Z"></path>
8
  </svg>
9
  </div>
10
+ <p>Image generation studio on 🤗 <a href="https://huggingface.co/spaces/zero-gpu-explorers/README" target="_blank" rel="noopener noreferrer">ZeroGPU</a>.</p>
11
  </div>