Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ from gradio import Blocks, Textbox, Dropdown, Button, Chatbot
|
|
| 15 |
# Configuration from environment
|
| 16 |
OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY", "")
|
| 17 |
OPENROUTER_API_URL = "https://openrouter.ai/api/v1"
|
| 18 |
-
DEFAULT_MODEL = "
|
| 19 |
|
| 20 |
# Deep thinking system prompt
|
| 21 |
DEEP_THINKING_PROMPT = """You are an advanced AI coding assistant with enhanced deep thinking capabilities.
|
|
@@ -168,13 +168,14 @@ with gr.Blocks(
|
|
| 168 |
with gr.Column(scale=1):
|
| 169 |
model_dropdown = gr.Dropdown(
|
| 170 |
choices=[
|
|
|
|
| 171 |
"anthropic/claude-3.5-sonnet",
|
| 172 |
"anthropic/claude-3-haiku",
|
| 173 |
"openai/gpt-4-turbo",
|
| 174 |
"google/gemini-pro",
|
| 175 |
"mistralai/mixtral-8x7b-instruct"
|
| 176 |
],
|
| 177 |
-
value="
|
| 178 |
label="AI Model"
|
| 179 |
)
|
| 180 |
|
|
|
|
| 15 |
# Configuration from environment
|
| 16 |
OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY", "")
|
| 17 |
OPENROUTER_API_URL = "https://openrouter.ai/api/v1"
|
| 18 |
+
DEFAULT_MODEL = "inclusionai/ling-2.6-1t:free"
|
| 19 |
|
| 20 |
# Deep thinking system prompt
|
| 21 |
DEEP_THINKING_PROMPT = """You are an advanced AI coding assistant with enhanced deep thinking capabilities.
|
|
|
|
| 168 |
with gr.Column(scale=1):
|
| 169 |
model_dropdown = gr.Dropdown(
|
| 170 |
choices=[
|
| 171 |
+
"inclusionai/ling-2.6-1t:free",
|
| 172 |
"anthropic/claude-3.5-sonnet",
|
| 173 |
"anthropic/claude-3-haiku",
|
| 174 |
"openai/gpt-4-turbo",
|
| 175 |
"google/gemini-pro",
|
| 176 |
"mistralai/mixtral-8x7b-instruct"
|
| 177 |
],
|
| 178 |
+
value="inclusionai/ling-2.6-1t:free",
|
| 179 |
label="AI Model"
|
| 180 |
)
|
| 181 |
|