Omnibus commited on
Commit
13fdcc3
1 Parent(s): b7094bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def get_screenshot(chat,css_in,w,h,user_c,bot_c,background_c,font_c):
72
  print(user_c)
73
  if user_c:
74
  user_c=user_c.strip('""').strip("''")
75
- html_user=css.replace("background: #367bb9; #user_c",f"background: {user_c};")
76
  html_body=""
77
  for user,bot in chat:
78
  html_body += html_user.replace("$chat",user)
 
72
  print(user_c)
73
  if user_c:
74
  user_c=user_c.strip('""').strip("''")
75
+ css=css.replace("background: #367bb9; #user_c",f"background: {user_c};")
76
  html_body=""
77
  for user,bot in chat:
78
  html_body += html_user.replace("$chat",user)