Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|