Omnibus commited on
Commit
f23e055
·
verified ·
1 Parent(s): d76a8e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,7 +61,8 @@ def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",
61
  # str representing output in 'value_20' Html component,
62
  # List[Dict(image: filepath, caption: str | None)] representing output in 'value_24' Gallery component,
63
  # filepath representing output in 'value_23' Image component,
64
- out = f'https://omnibus-html-image-current-tab.hf.space/file={result[0]}'
 
65
  print(out)
66
  return out
67
 
 
61
  # str representing output in 'value_20' Html component,
62
  # List[Dict(image: filepath, caption: str | None)] representing output in 'value_24' Gallery component,
63
  # filepath representing output in 'value_23' Image component,
64
+ #out = f'https://omnibus-html-image-current-tab.hf.space/file={result[0]}'
65
+ out = f'https://omnibus-html-image-current-tab.hf.space/file={result[3]}'
66
  print(out)
67
  return out
68