Omnibus commited on
Commit
cbecb31
·
verified ·
1 Parent(s): a1b6810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ css="""
39
  }
40
  """
41
 
42
- def screenshot(chat_bot_input, block=[], css_in=css,w=1000, h=1800, user_c="#367bb9", bot_c="#1c3c9b", background_c="#253251", font_c="#ffffff"):
43
  result = client.predict(eval(chat_bot_input), block, css_in, w, h, user_c, bot_c, background_c, font_c, api_name="/get_screenshot")
44
  #[["Hello!",null]], # Tuple[str | Dict(file: filepath, alt_text: str | None) | None, str | Dict(file: filepath, alt_text: str | None) | None] in 'Chatbot Mixtral-8x7b-instruct-v0.1' Chatbot component
45
  #[1], # List[Literal['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']] in 'Chatblocks' Dropdown component
 
39
  }
40
  """
41
 
42
+ def screenshot(chat_bot_input, block=[], css_in=css,w=1000, h=2500, user_c="#367bb9", bot_c="#1c3c9b", background_c="#253251", font_c="#ffffff"):
43
  result = client.predict(eval(chat_bot_input), block, css_in, w, h, user_c, bot_c, background_c, font_c, api_name="/get_screenshot")
44
  #[["Hello!",null]], # Tuple[str | Dict(file: filepath, alt_text: str | None) | None, str | Dict(file: filepath, alt_text: str | None) | None] in 'Chatbot Mixtral-8x7b-instruct-v0.1' Chatbot component
45
  #[1], # List[Literal['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']] in 'Chatblocks' Dropdown component