Spaces:
Sleeping
Sleeping
Arjun Singh
commited on
Commit
·
bf9e0dd
1
Parent(s):
471dc6e
sync
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ with gr.Blocks(theme='freddyaboulton/test-blue') as demo:
|
|
| 67 |
gr.Markdown("<center><h3>AI Response</h3></center>")
|
| 68 |
image_output_box = gr.Image(type="pil", label="Final Generated Image")
|
| 69 |
|
| 70 |
-
submit_btn.click(fn=generate_image, inputs = [prompt,neg_prompt,source_image], outputs=[
|
| 71 |
clear_btn.click(fn=clear_fields,outputs=[prompt,neg_prompt,image_output_box])
|
| 72 |
|
| 73 |
demo.launch()
|
|
|
|
| 67 |
gr.Markdown("<center><h3>AI Response</h3></center>")
|
| 68 |
image_output_box = gr.Image(type="pil", label="Final Generated Image")
|
| 69 |
|
| 70 |
+
submit_btn.click(fn=generate_image, inputs = [prompt,neg_prompt,source_image], outputs=[image_output_box])
|
| 71 |
clear_btn.click(fn=clear_fields,outputs=[prompt,neg_prompt,image_output_box])
|
| 72 |
|
| 73 |
demo.launch()
|