MrAli813 commited on
Commit
35fcfc0
1 Parent(s): 1176dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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("huggingface/runwayml/stable-diffusion-v1-5")
 
 
 
 
 
 
 
 
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()