Update app.py
Browse files
app.py
CHANGED
|
@@ -14,11 +14,12 @@ response_cache = TTLCache(maxsize=100, ttl=CACHE_TTL)
|
|
| 14 |
|
| 15 |
# Spiritual theme configuration
|
| 16 |
SPIRITUAL_THEME = gr.themes.Default(
|
| 17 |
-
primary_hue="
|
| 18 |
-
secondary_hue="
|
| 19 |
font=[gr.themes.GoogleFont("Hind Siliguri")]
|
| 20 |
)
|
| 21 |
|
|
|
|
| 22 |
def format_krishna_prompt(message, history):
|
| 23 |
"""Create proper Mistral instruction prompt with Krishna context"""
|
| 24 |
system_prompt = """<s>[INST] <<SYS>>
|
|
|
|
| 14 |
|
| 15 |
# Spiritual theme configuration
|
| 16 |
SPIRITUAL_THEME = gr.themes.Default(
|
| 17 |
+
primary_hue=gr.themes.Color("#2c786c"), # Emerald
|
| 18 |
+
secondary_hue=gr.themes.Color("#FFD700"), # Gold
|
| 19 |
font=[gr.themes.GoogleFont("Hind Siliguri")]
|
| 20 |
)
|
| 21 |
|
| 22 |
+
|
| 23 |
def format_krishna_prompt(message, history):
|
| 24 |
"""Create proper Mistral instruction prompt with Krishna context"""
|
| 25 |
system_prompt = """<s>[INST] <<SYS>>
|