Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from huggingface_hub import InferenceClient
|
|
3 |
import random
|
4 |
|
5 |
# Load AI model
|
6 |
-
client = InferenceClient("
|
7 |
|
8 |
# Kaizen's Core Identity
|
9 |
BOT_NAME = "Kaizen"
|
@@ -28,7 +28,7 @@ def respond(
|
|
28 |
temperature,
|
29 |
top_p,
|
30 |
):
|
31 |
-
user_id = "
|
32 |
|
33 |
if user_id not in user_memory:
|
34 |
user_memory[user_id] = {"history": [], "ignored_count": 0}
|
|
|
3 |
import random
|
4 |
|
5 |
# Load AI model
|
6 |
+
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
7 |
|
8 |
# Kaizen's Core Identity
|
9 |
BOT_NAME = "Kaizen"
|
|
|
28 |
temperature,
|
29 |
top_p,
|
30 |
):
|
31 |
+
user_id = "Stranger" # Fake user ID (modify for real users)
|
32 |
|
33 |
if user_id not in user_memory:
|
34 |
user_memory[user_id] = {"history": [], "ignored_count": 0}
|