Spaces:
Runtime error
Runtime error
Renamed to Stable Diffusion Prism and updated description
Browse files
app.py
CHANGED
@@ -46,11 +46,10 @@ css = '''
|
|
46 |
with gr.Blocks(css=css) as demo:
|
47 |
gr.Markdown(
|
48 |
"""
|
49 |
-
## Stable Diffusion
|
50 |
-
Want to figure out what a good prompt might be to create new images like an existing one?
|
51 |
|
52 |
-
|
53 |
-
|
54 |
"""
|
55 |
)
|
56 |
|
@@ -58,11 +57,11 @@ with gr.Blocks(css=css) as demo:
|
|
58 |
with gr.Column():
|
59 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
60 |
with gr.Row():
|
61 |
-
see_prompts = gr.Button("
|
62 |
|
63 |
with gr.Column():
|
64 |
img2text_output = gr.Textbox(
|
65 |
-
label="
|
66 |
lines=4,
|
67 |
elem_id="translated"
|
68 |
)
|
|
|
46 |
with gr.Blocks(css=css) as demo:
|
47 |
gr.Markdown(
|
48 |
"""
|
49 |
+
## Stable Diffusion Prism ππ
|
|
|
50 |
|
51 |
+
Sends an image in to [CLIP Interrogator](https://huggingface.co/spaces/pharma/CLIP-Interrogator)
|
52 |
+
to generate a text prompt which is then run through Stable Diffusion to generate new forms of the original!
|
53 |
"""
|
54 |
)
|
55 |
|
|
|
57 |
with gr.Column():
|
58 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
59 |
with gr.Row():
|
60 |
+
see_prompts = gr.Button("Feed in your image!")
|
61 |
|
62 |
with gr.Column():
|
63 |
img2text_output = gr.Textbox(
|
64 |
+
label="Generated text prompt",
|
65 |
lines=4,
|
66 |
elem_id="translated"
|
67 |
)
|