Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
127 |
gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text/img-to-image generation</center></p>")
|
128 |
with gr.Group():
|
129 |
with gr.Row():
|
130 |
-
prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)',
|
131 |
submit = gr.Button(scale=1, variant='primary')
|
132 |
img = gr.Image(label='SD3M Generated Image')
|
133 |
with gr.Accordion("Advanced Options", open=False):
|
|
|
127 |
gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text/img-to-image generation</center></p>")
|
128 |
with gr.Group():
|
129 |
with gr.Row():
|
130 |
+
prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', placeholder="Enter prompt,you can upload image.", file_types=['image'], scale=6)
|
131 |
submit = gr.Button(scale=1, variant='primary')
|
132 |
img = gr.Image(label='SD3M Generated Image')
|
133 |
with gr.Accordion("Advanced Options", open=False):
|