Omnibus commited on
Commit
d091393
1 Parent(s): 5fe20cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,7 +104,8 @@ with gr.Blocks() as app:
104
  im_btn=gr.Button("Screenshot")
105
  img=gr.Image(type='filepath')
106
  btn.click(chat_inf,[sys_inp,inp,chat_b],chat_b)
107
- im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
 
108
  #app.load(get_screenshot,inp,img)
109
  app.launch()
110
 
 
104
  im_btn=gr.Button("Screenshot")
105
  img=gr.Image(type='filepath')
106
  btn.click(chat_inf,[sys_inp,inp,chat_b],chat_b)
107
+ im_btn.click(get_screenshot,[chat_b],img)
108
+ #im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
109
  #app.load(get_screenshot,inp,img)
110
  app.launch()
111