Spaces:
Build error
Build error
Commit
·
40a53b0
1
Parent(s):
12d3f06
fix: Correct model name in app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import os
|
|
| 9 |
|
| 10 |
# --- Configuration ---
|
| 11 |
# The model is loaded from the Hugging Face Hub
|
| 12 |
-
BASE_MODEL_PATH = "algorythmtechnologies/
|
| 13 |
# Name of the environment variable for the Hugging Face token
|
| 14 |
HF_TOKEN_ENV_VAR = "HUGGING_FACE_HUB_TOKEN"
|
| 15 |
|
|
@@ -113,7 +113,7 @@ def generate_response(message, history):
|
|
| 113 |
# --- Gradio UI ---
|
| 114 |
with gr.Blocks(theme=gr.themes.Soft(primary_hue="sky", secondary_hue="blue")) as demo:
|
| 115 |
gr.HTML("<h1 align='center'>Zenith V1.1 Coder</h1>")
|
| 116 |
-
gr.Markdown("This Space is running [
|
| 117 |
|
| 118 |
gr.ChatInterface(
|
| 119 |
generate_response,
|
|
|
|
| 9 |
|
| 10 |
# --- Configuration ---
|
| 11 |
# The model is loaded from the Hugging Face Hub
|
| 12 |
+
BASE_MODEL_PATH = "algorythmtechnologies/zenith_coder_v1.1"
|
| 13 |
# Name of the environment variable for the Hugging Face token
|
| 14 |
HF_TOKEN_ENV_VAR = "HUGGING_FACE_HUB_TOKEN"
|
| 15 |
|
|
|
|
| 113 |
# --- Gradio UI ---
|
| 114 |
with gr.Blocks(theme=gr.themes.Soft(primary_hue="sky", secondary_hue="blue")) as demo:
|
| 115 |
gr.HTML("<h1 align='center'>Zenith V1.1 Coder</h1>")
|
| 116 |
+
gr.Markdown("This Space is running [zenith_coder_v1.1](https://huggingface.co/algorythmtechnologies/zenith_coder_v1.1).<br>You can ask coding questions or use the 'search for <query>' command to browse the web.")
|
| 117 |
|
| 118 |
gr.ChatInterface(
|
| 119 |
generate_response,
|