Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ async def chat_response(message: str, history) -> AsyncGenerator[str, None]:
|
|
| 85 |
session = chat_instance.sessions[session_key]
|
| 86 |
session['count'] += 1
|
| 87 |
|
| 88 |
-
if session['count'] >=
|
| 89 |
yield "You've hit your free message limit. To continue the conversation, consider applying as an Alpha tester. Click here to [Continue](https://www.auronspeaks.com/apply)"
|
| 90 |
return
|
| 91 |
|
|
@@ -99,8 +99,8 @@ async def chat_response(message: str, history) -> AsyncGenerator[str, None]:
|
|
| 99 |
|
| 100 |
demo = gr.ChatInterface(
|
| 101 |
fn=chat_response,
|
| 102 |
-
title="
|
| 103 |
-
description="
|
| 104 |
examples=[
|
| 105 |
"Hi, I'd love to chat with you!",
|
| 106 |
"Can you tell me about yourself?"
|
|
|
|
| 85 |
session = chat_instance.sessions[session_key]
|
| 86 |
session['count'] += 1
|
| 87 |
|
| 88 |
+
if session['count'] >= 200:
|
| 89 |
yield "You've hit your free message limit. To continue the conversation, consider applying as an Alpha tester. Click here to [Continue](https://www.auronspeaks.com/apply)"
|
| 90 |
return
|
| 91 |
|
|
|
|
| 99 |
|
| 100 |
demo = gr.ChatInterface(
|
| 101 |
fn=chat_response,
|
| 102 |
+
title="Valentine’s Day Edition / Alpha 04",
|
| 103 |
+
description="This AI is funny and flirty! Treat them like your long-distance date and see how they respond. (NSFW chat is not allowed)",
|
| 104 |
examples=[
|
| 105 |
"Hi, I'd love to chat with you!",
|
| 106 |
"Can you tell me about yourself?"
|