Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import json
|
|
| 5 |
from huggingface_hub import InferenceClient
|
| 6 |
|
| 7 |
# π§ Load Zephyr model with your Hugging Face token if needed
|
| 8 |
-
client = InferenceClient("HuggingFaceH4/zephyr-7b-
|
| 9 |
|
| 10 |
# π§ MEMORY SETUP
|
| 11 |
MEMORY_FILE = "hoopmind_memory.json"
|
|
@@ -129,17 +129,17 @@ def hoopmind_chat(user_input, history=[]):
|
|
| 129 |
# π CHAT INTERFACE
|
| 130 |
chat = gr.ChatInterface(
|
| 131 |
fn=hoopmind_chat,
|
| 132 |
-
title="π HoopMind β Your Basketball
|
| 133 |
description="""
|
| 134 |
β¨ Welcome to **HoopMind** β¨
|
| 135 |
-
Your AI hooper
|
| 136 |
Drop a question or say what's up π
|
| 137 |
""",
|
| 138 |
theme="soft",
|
| 139 |
examples=[
|
| 140 |
"How do I get better at shooting?",
|
| 141 |
-
"
|
| 142 |
-
"
|
| 143 |
"Give me motivation",
|
| 144 |
"Dribbling tips?",
|
| 145 |
"Math help please?",
|
|
|
|
| 5 |
from huggingface_hub import InferenceClient
|
| 6 |
|
| 7 |
# π§ Load Zephyr model with your Hugging Face token if needed
|
| 8 |
+
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 9 |
|
| 10 |
# π§ MEMORY SETUP
|
| 11 |
MEMORY_FILE = "hoopmind_memory.json"
|
|
|
|
| 129 |
# π CHAT INTERFACE
|
| 130 |
chat = gr.ChatInterface(
|
| 131 |
fn=hoopmind_chat,
|
| 132 |
+
title="π HoopMind β Your Basketball Helper AI",
|
| 133 |
description="""
|
| 134 |
β¨ Welcome to **HoopMind** β¨
|
| 135 |
+
Your AI hooper brother. Talk hoops, life, school, or just chill!
|
| 136 |
Drop a question or say what's up π
|
| 137 |
""",
|
| 138 |
theme="soft",
|
| 139 |
examples=[
|
| 140 |
"How do I get better at shooting?",
|
| 141 |
+
"Hey I'm injured right now",
|
| 142 |
+
"What's up bro?",
|
| 143 |
"Give me motivation",
|
| 144 |
"Dribbling tips?",
|
| 145 |
"Math help please?",
|