Spaces:
Running
on
Zero
Running
on
Zero
Jordan Legg
commited on
Commit
•
5c4c452
1
Parent(s):
122211b
bumped gradio version, removed SSR rendering (known bug)
Browse files- README.md +1 -1
- app.py +3 -2
- requirements.txt +1 -1
README.md
CHANGED
@@ -5,7 +5,7 @@ emoji: 🎥
|
|
5 |
colorFrom: purple
|
6 |
colorTo: red
|
7 |
sdk: gradio
|
8 |
-
sdk_version:
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
license: apache-2.0
|
|
|
5 |
colorFrom: purple
|
6 |
colorTo: red
|
7 |
sdk: gradio
|
8 |
+
sdk_version: 5.6.0
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
license: apache-2.0
|
app.py
CHANGED
@@ -200,7 +200,8 @@ CineDiffusion is an application for creating very high resolution Cinematic wide
|
|
200 |
fn=infer,
|
201 |
inputs=[prompt, aspect_ratio, width, seed, randomize_seed, num_inference_steps],
|
202 |
outputs=[result, seed],
|
203 |
-
cache_examples=
|
|
|
204 |
)
|
205 |
|
206 |
gr.on(
|
@@ -210,4 +211,4 @@ CineDiffusion is an application for creating very high resolution Cinematic wide
|
|
210 |
outputs=[result, seed]
|
211 |
)
|
212 |
|
213 |
-
demo.launch()
|
|
|
200 |
fn=infer,
|
201 |
inputs=[prompt, aspect_ratio, width, seed, randomize_seed, num_inference_steps],
|
202 |
outputs=[result, seed],
|
203 |
+
cache_examples=True,
|
204 |
+
cache_mode="lazy"
|
205 |
)
|
206 |
|
207 |
gr.on(
|
|
|
211 |
outputs=[result, seed]
|
212 |
)
|
213 |
|
214 |
+
demo.launch(ssr_mode = False)
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
accelerate
|
2 |
diffusers
|
3 |
invisible_watermark
|
@@ -5,4 +6,3 @@ torch
|
|
5 |
transformers
|
6 |
xformers
|
7 |
sentencepiece
|
8 |
-
pip==24.3.1
|
|
|
1 |
+
pip==24.3.1
|
2 |
accelerate
|
3 |
diffusers
|
4 |
invisible_watermark
|
|
|
6 |
transformers
|
7 |
xformers
|
8 |
sentencepiece
|
|