Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -546,7 +546,8 @@ with gr.Blocks() as demo:
|
|
546 |
|
547 |
with gr.Row():
|
548 |
with gr.Column(scale=0.5):
|
549 |
-
image = gr.Image(type="pil", tool="sketch" ,brush_radius=20)
|
|
|
550 |
|
551 |
temperature = gr.Slider(
|
552 |
minimum=0.1,
|
@@ -643,5 +644,5 @@ with gr.Blocks() as demo:
|
|
643 |
)
|
644 |
|
645 |
clear.click(gradio_reset, [chat_state, img_list], [chatbot, image, text_input, chat_state, img_list], queue=False)
|
646 |
-
|
647 |
-
demo.launch(share=True, enable_queue=True)
|
|
|
546 |
|
547 |
with gr.Row():
|
548 |
with gr.Column(scale=0.5):
|
549 |
+
# image = gr.Image(type="pil", tool="sketch" ,brush_radius=20)
|
550 |
+
image = gr.ImageEditor(type="pil")
|
551 |
|
552 |
temperature = gr.Slider(
|
553 |
minimum=0.1,
|
|
|
644 |
)
|
645 |
|
646 |
clear.click(gradio_reset, [chat_state, img_list], [chatbot, image, text_input, chat_state, img_list], queue=False)
|
647 |
+
demo.queue().launch(share=True)
|
648 |
+
# demo.launch(share=True, enable_queue=True)
|