Spaces:
Running
Running
fixed limiting
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ with gr.Blocks(title = "CP Helper Bot") as demo:
|
|
| 63 |
day = 24 * 60 * 60
|
| 64 |
if (current_time - last_update >= day):
|
| 65 |
last_update=current_time
|
| 66 |
-
chats=
|
| 67 |
|
| 68 |
if (chats <= 0):
|
| 69 |
history.append((message, "Too many chats today, try again later."))
|
|
|
|
| 63 |
day = 24 * 60 * 60
|
| 64 |
if (current_time - last_update >= day):
|
| 65 |
last_update=current_time
|
| 66 |
+
chats=500
|
| 67 |
|
| 68 |
if (chats <= 0):
|
| 69 |
history.append((message, "Too many chats today, try again later."))
|