prateekbh commited on
Commit
c739636
·
verified ·
1 Parent(s): 8d8493d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -7
app.py CHANGED
@@ -83,13 +83,16 @@ def response(history, image):
83
  history[-1][1] = partial_response
84
  yield history
85
 
86
- with gr.Blocks(css=css, js="bg-remove2.js") as demo:
87
- with gr.Column(elem_id="col-container"):
88
- gr.HTML(title)
89
- image = gr.Image(type="pil", elem_id="upload")
90
- message = gr.Textbox(interactive=True, show_label=False, container=False)
91
- chat = gr.Chatbot(show_label=False)
92
- submit = gr.Button(value="Upload", variant="primary")
 
 
 
93
 
94
  response_handler = (
95
  response,
 
83
  history[-1][1] = partial_response
84
  yield history
85
 
86
+ with gr.Blocks(css=css) as demo:
87
+ gr.HTML(title)
88
+ with gr.Row()
89
+ with gr.Column(elem_id="col-container"):
90
+ image = gr.Image(type="pil")
91
+ message = gr.Textbox(interactive=True, show_label=False, container=False)
92
+ chat = gr.Chatbot(show_label=False)
93
+ submit = gr.Button(value="Upload", variant="primary")
94
+ with gr.Column()
95
+ output = gr.Image(type="pil")
96
 
97
  response_handler = (
98
  response,