Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,15 @@ A2 = gr.load(
|
|
37 |
outputs=[gr.Textbox(label="I see...")],
|
38 |
theme= gr.themes.Glass(primary_hue="amber", neutral_hue="lime"))
|
39 |
|
40 |
-
A3 = gr.load(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
pcp = gr.TabbedInterface([A1, A2, A3], ["Chat", "Describe", "Create"], theme= gr.themes.Glass(primary_hue="amber", neutral_hue="lime"))
|
43 |
pcp.queue().launch()
|
|
|
37 |
outputs=[gr.Textbox(label="I see...")],
|
38 |
theme= gr.themes.Glass(primary_hue="amber", neutral_hue="lime"))
|
39 |
|
40 |
+
A3 = gr.load(
|
41 |
+
"huggingface/runwayml/stable-diffusion-v1-5",
|
42 |
+
inputs=[gr.Textbox(label="Enter Your Description")],
|
43 |
+
outputs=[gr.Image(label="Image")],
|
44 |
+
title="Sailcloth",
|
45 |
+
description="Bring Your Imagination Into Existence With Stable Diffusion",
|
46 |
+
allow_flagging="never",
|
47 |
+
examples=["A ghastly spirit wandering the streets of Atlanta","A robot in a Brazilian favela"])
|
48 |
+
|
49 |
|
50 |
pcp = gr.TabbedInterface([A1, A2, A3], ["Chat", "Describe", "Create"], theme= gr.themes.Glass(primary_hue="amber", neutral_hue="lime"))
|
51 |
pcp.queue().launch()
|