Omnibus commited on
Commit
9a1d5e2
1 Parent(s): 3e478f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()