Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def get_screenshot(chat,height=5000,width=600,chatblock=[1],header=True,theme="l
|
|
25 |
|
26 |
get_screenshot(chat=[('user','bot'),('user','bot')])
|
27 |
with gr.Blocks() as app:
|
28 |
-
img=gr.Image()
|
29 |
chat=[('user','bot'),('user','bot')]
|
30 |
app.load(get_screenshot,chat,img)
|
31 |
app.launch()
|
|
|
25 |
|
26 |
get_screenshot(chat=[('user','bot'),('user','bot')])
|
27 |
with gr.Blocks() as app:
|
28 |
+
img=gr.Image(type='filepath')
|
29 |
chat=[('user','bot'),('user','bot')]
|
30 |
app.load(get_screenshot,chat,img)
|
31 |
app.launch()
|