Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
|
|
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 |
|