Update app.py
Browse files
app.py
CHANGED
|
@@ -58,13 +58,6 @@ css = '''
|
|
| 58 |
a {text-decoration-line: underline; font-weight: 600;}
|
| 59 |
'''
|
| 60 |
|
| 61 |
-
prompt_input = gr.Textbox()
|
| 62 |
-
image_init = gr.Image(source="upload", type="filepath")
|
| 63 |
-
image_output = gr.Image()
|
| 64 |
-
|
| 65 |
-
demo = gr.Interface(fn=infer, inputs=[prompt_input, image_init], outputs=image_output, title=title)
|
| 66 |
-
demo.launch()
|
| 67 |
-
|
| 68 |
|
| 69 |
with gr.Blocks(css=css) as block:
|
| 70 |
with gr.Column(elem_id="col-container"):
|
|
|
|
| 58 |
a {text-decoration-line: underline; font-weight: 600;}
|
| 59 |
'''
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
with gr.Blocks(css=css) as block:
|
| 63 |
with gr.Column(elem_id="col-container"):
|