Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ with gr.Blocks(css=css, head=head) as demo:
|
|
206 |
"""
|
207 |
# Welcome to MagicQuill!
|
208 |
Click the [link](https://magicquill.art) to view our demo and tutorial. Give us a [GitHub star](https://github.com/magic-quill/magicquill) if you are interested.
|
209 |
-
# !!! The only official website is [magicquill.art](https://magicquill.art). Any other websites (such as magicquill.online) are
|
210 |
""")
|
211 |
with gr.Row(elem_classes="row"):
|
212 |
ms = MagicQuill()
|
@@ -326,7 +326,6 @@ async def process_background_img(request: Request):
|
|
326 |
img = await request.json()
|
327 |
resized_img_tensor = load_and_resize_image(img)
|
328 |
resized_img_base64 = "data:image/png;base64," + tensor_to_base64(resized_img_tensor)
|
329 |
-
# add more processing here
|
330 |
return resized_img_base64
|
331 |
|
332 |
app = gr.mount_gradio_app(app, demo, "/")
|
|
|
206 |
"""
|
207 |
# Welcome to MagicQuill!
|
208 |
Click the [link](https://magicquill.art) to view our demo and tutorial. Give us a [GitHub star](https://github.com/magic-quill/magicquill) if you are interested.
|
209 |
+
# !!! The only official website is [magicquill.art](https://magicquill.art). Any other websites (such as magicquill.online) are scams.
|
210 |
""")
|
211 |
with gr.Row(elem_classes="row"):
|
212 |
ms = MagicQuill()
|
|
|
326 |
img = await request.json()
|
327 |
resized_img_tensor = load_and_resize_image(img)
|
328 |
resized_img_base64 = "data:image/png;base64," + tensor_to_base64(resized_img_tensor)
|
|
|
329 |
return resized_img_base64
|
330 |
|
331 |
app = gr.mount_gradio_app(app, demo, "/")
|