JaMe76 commited on
Commit
30356cd
·
1 Parent(s): 081ae8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -229,7 +229,7 @@ def analyze_image(img, pdf, max_datapoints):
229
  else:
230
  html = None
231
 
232
- return [dp.viz(show_cells=False) for dp in dpts]#, layout_items_str, html, jsonl_out
233
 
234
 
235
  demo = gr.Blocks(css="scrollbar.css")
@@ -295,6 +295,6 @@ with demo:
295
  json = gr.JSON()
296
 
297
  btn.click(fn=analyze_image, inputs=[inputs, inputs_pdf, max_imgs],
298
- outputs=[gallery])#, image_text, html, json])
299
 
300
  demo.launch()
 
229
  else:
230
  html = None
231
 
232
+ return [dp.viz(show_cells=False) for dp in dpts], layout_items_str, html #, jsonl_out
233
 
234
 
235
  demo = gr.Blocks(css="scrollbar.css")
 
295
  json = gr.JSON()
296
 
297
  btn.click(fn=analyze_image, inputs=[inputs, inputs_pdf, max_imgs],
298
+ outputs=[gallery, image_text, html])#, json])
299
 
300
  demo.launch()