Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,8 +155,8 @@ with gr.Blocks(css=css) as app:
|
|
155 |
img=gr.Image(type='filepath')
|
156 |
css_box=gr.Textbox(lines=50,value=css)
|
157 |
html_view=gr.HTML()
|
158 |
-
btn.click(chat_inf,[sys_inp,inp,chat_b
|
159 |
-
im_btn.click(get_screenshot,[chat_b,css_box,im_width,im_height],[img,html_view])
|
160 |
#im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
|
161 |
#app.load(get_screenshot,inp,img)
|
162 |
app.launch()
|
|
|
155 |
img=gr.Image(type='filepath')
|
156 |
css_box=gr.Textbox(lines=50,value=css)
|
157 |
html_view=gr.HTML()
|
158 |
+
btn.click(chat_inf,[sys_inp,inp,chat_b],chat_b)
|
159 |
+
im_btn.click(get_screenshot,[chat_b,css_box,im_width,im_height,user_c,bot_c,background_c,font_c],[img,html_view])
|
160 |
#im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
|
161 |
#app.load(get_screenshot,inp,img)
|
162 |
app.launch()
|