Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +0 -23
chain_app.py
CHANGED
@@ -148,29 +148,6 @@ async def on_chat_start():
|
|
148 |
).send()
|
149 |
|
150 |
if chat_profile == 'Image-Generation':
|
151 |
-
await cl.ChatSettings(
|
152 |
-
[
|
153 |
-
Slider(
|
154 |
-
id="Image_Width",
|
155 |
-
label="Image Width",
|
156 |
-
initial=512,
|
157 |
-
min=256,
|
158 |
-
max=2048,
|
159 |
-
step=64,
|
160 |
-
tooltip="Measured in pixels",
|
161 |
-
),
|
162 |
-
Slider(
|
163 |
-
id="Image_Height",
|
164 |
-
label="Image Height",
|
165 |
-
initial=512,
|
166 |
-
min=256,
|
167 |
-
max=2048,
|
168 |
-
step=64,
|
169 |
-
tooltip="Measured in pixels",
|
170 |
-
),
|
171 |
-
]
|
172 |
-
).send()
|
173 |
-
|
174 |
image = cl.Image(path='cat.png', name="result", display="inline")
|
175 |
await cl.Message(
|
176 |
content="I can make high quality & resoloution images for you, This is an example of what i can do!",
|
|
|
148 |
).send()
|
149 |
|
150 |
if chat_profile == 'Image-Generation':
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
image = cl.Image(path='cat.png', name="result", display="inline")
|
152 |
await cl.Message(
|
153 |
content="I can make high quality & resoloution images for you, This is an example of what i can do!",
|