XThomasBU commited on
Commit
379628b
2 Parent(s): 2e04bc3 d6ae8e0

Merge pull request #10 from tools4ds/retargeting

Browse files
apps/ai_tutor/app.py CHANGED
@@ -240,8 +240,6 @@ async def cooldown(request: Request):
240
  cooldown, cooldown_end_time = await check_user_cooldown(
241
  user_details, current_datetime, COOLDOWN_TIME, TOKENS_LEFT, REGEN_TIME
242
  )
243
- print(f"User in cooldown: {cooldown}")
244
- print(f"Cooldown end time: {cooldown_end_time}")
245
  if cooldown and "admin" not in get_user_role(user_info["email"]):
246
  return templates.TemplateResponse(
247
  "cooldown.html",
 
240
  cooldown, cooldown_end_time = await check_user_cooldown(
241
  user_details, current_datetime, COOLDOWN_TIME, TOKENS_LEFT, REGEN_TIME
242
  )
 
 
243
  if cooldown and "admin" not in get_user_role(user_info["email"]):
244
  return templates.TemplateResponse(
245
  "cooldown.html",
apps/ai_tutor/public/files/test.css CHANGED
@@ -31,3 +31,19 @@ a[href*='https://github.com/Chainlit/chainlit']
31
  max-height: 45px; /* Ensure the height remains consistent */
32
  max-width: 45px; /* Ensure the width remains consistent */
33
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  max-height: 45px; /* Ensure the height remains consistent */
32
  max-width: 45px; /* Ensure the width remains consistent */
33
  }
34
+
35
+ .MuiDialogContent-root.css-1ty026z {
36
+ color: #000000;
37
+ }
38
+
39
+ .MuiDialogContent-root.css-1ty026z p {
40
+ color: red;
41
+ }
42
+
43
+ .MuiDialogContent-root.css-1ty026z h6 {
44
+ color: #000000;
45
+ }
46
+
47
+ .css-dbukeo {
48
+ display: none !important;
49
+ }