Spaces:
Runtime error
Runtime error
Update app.py and example image
Browse files- app.py +2 -1
- images/black_car.png +3 -0
app.py
CHANGED
@@ -7,7 +7,7 @@ import streamlit as st
|
|
7 |
|
8 |
is_colab = utils.is_google_colab()
|
9 |
|
10 |
-
if
|
11 |
model_id_or_path = "CompVis/stable-diffusion-v1-4"
|
12 |
scheduler = DDIMScheduler.from_config(model_id_or_path,
|
13 |
use_auth_token=st.secrets["USER_TOKEN"],
|
@@ -113,6 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
ex = gr.Examples(
|
114 |
[
|
115 |
["An astronaut riding a horse", "An astronaut riding an elephant", 1, 2, 100, 512, 512, 0, "images/astronaut_horse.png", 0.8],
|
|
|
116 |
],
|
117 |
[source_prompt, target_prompt, source_guidance_scale, guidance_scale, num_inference_steps,
|
118 |
width, height, seed, img, strength],
|
|
|
7 |
|
8 |
is_colab = utils.is_google_colab()
|
9 |
|
10 |
+
if False:
|
11 |
model_id_or_path = "CompVis/stable-diffusion-v1-4"
|
12 |
scheduler = DDIMScheduler.from_config(model_id_or_path,
|
13 |
use_auth_token=st.secrets["USER_TOKEN"],
|
|
|
113 |
ex = gr.Examples(
|
114 |
[
|
115 |
["An astronaut riding a horse", "An astronaut riding an elephant", 1, 2, 100, 512, 512, 0, "images/astronaut_horse.png", 0.8],
|
116 |
+
["A black colored car.", "A blue colored car.", 1, 2, 100, 512, 512, 0, "images/black_car.png", 0.85],
|
117 |
],
|
118 |
[source_prompt, target_prompt, source_guidance_scale, guidance_scale, num_inference_steps,
|
119 |
width, height, seed, img, strength],
|
images/black_car.png
ADDED
Git LFS Details
|