Omnibus commited on
Commit
a67f360
1 Parent(s): 4e1fd51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -83,5 +83,6 @@ with gr.Blocks() as app:
83
  im_btn=gr.Button("Screenshot")
84
  img=gr.Image(type='filepath')
85
  btn.click(chat_inf,[sys_inp,inp,chat_b],chat_b)
 
86
  #app.load(get_screenshot,inp,img)
87
  app.launch()
 
83
  im_btn=gr.Button("Screenshot")
84
  img=gr.Image(type='filepath')
85
  btn.click(chat_inf,[sys_inp,inp,chat_b],chat_b)
86
+ im_btn.click(get_screenshot,chatbot,img)
87
  #app.load(get_screenshot,inp,img)
88
  app.launch()