Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,9 +53,8 @@ def generate_caption_keywords(prompt, model='command-xlarge-20221108', max_token
|
|
53 |
return caption, keywords_string
|
54 |
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
#def img2img( path ,is_HD,design,x_prompt,alt_prompt,strength,guidance_scale,steps):
|
59 |
|
60 |
|
61 |
|
@@ -120,7 +119,7 @@ gr.Interface(img2img, [gr.Image(source="upload", type="filepath", label="Input
|
|
120 |
gr.Slider(10, 50, value = 50, step = 1, label = 'Number of Iterations')
|
121 |
],
|
122 |
gr.Image(),
|
123 |
-
examples =[['1.png','interior design of living room','False','interior design',0.6,7,50],
|
124 |
-
['2.png','interior design of hall ','False','interior design',0.7,7,50],
|
125 |
-
['3.png','interior design of bedroom','False','interior design',0.6,7,50]],title = "" +'Baith-al-suroor بَیتُ الْسرور 🏡💡🤖, Transform your space with the power of artificial intelligence. '+ "",
|
126 |
description="Baith al suroor بَیتُ الْسرور (house of happiness in Arabic) 🏡💡🤖 is a simple app that uses the power of artificial intelligence to transform your space. With the Cohere language Command model, it can generate descriptions of your desired design, and the Stable Diffusion algorithm creates relevant images to bring your vision to life. Give Baith AI a try and see how it can elevate your interior design.--if you want to scale / reaserch / build mobile app on this space konnect me @[here](https://www.linkedin.com/in/sallu-mandya/)").launch( debug = True)
|
|
|
53 |
return caption, keywords_string
|
54 |
|
55 |
|
56 |
+
|
57 |
+
def img2img( path ,is_HD,design,x_prompt,alt_prompt,strength,guidance_scale,steps):
|
|
|
58 |
|
59 |
|
60 |
|
|
|
119 |
gr.Slider(10, 50, value = 50, step = 1, label = 'Number of Iterations')
|
120 |
],
|
121 |
gr.Image(),
|
122 |
+
examples =[['1.png',False,'interior design of living room','False','interior design',0.6,7,50],
|
123 |
+
['2.png',False,'interior design of hall ','False','interior design',0.7,7,50],
|
124 |
+
['3.png',False,'interior design of bedroom','False','interior design',0.6,7,50]],title = "" +'Baith-al-suroor بَیتُ الْسرور 🏡💡🤖, Transform your space with the power of artificial intelligence. '+ "",
|
125 |
description="Baith al suroor بَیتُ الْسرور (house of happiness in Arabic) 🏡💡🤖 is a simple app that uses the power of artificial intelligence to transform your space. With the Cohere language Command model, it can generate descriptions of your desired design, and the Stable Diffusion algorithm creates relevant images to bring your vision to life. Give Baith AI a try and see how it can elevate your interior design.--if you want to scale / reaserch / build mobile app on this space konnect me @[here](https://www.linkedin.com/in/sallu-mandya/)").launch( debug = True)
|