Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,7 +223,7 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
| 223 |
chatbot = gr.Chatbot(
|
| 224 |
height=600,
|
| 225 |
show_copy_button=True,
|
| 226 |
-
placeholder="Select a model and begin chatting",
|
| 227 |
layout="panel"
|
| 228 |
)
|
| 229 |
print("Chatbot interface created.")
|
|
@@ -311,7 +311,6 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
| 311 |
choices=providers_list,
|
| 312 |
value="hf-inference",
|
| 313 |
label="Inference Provider",
|
| 314 |
-
info="[View all models here](https://huggingface.co/models?inference_provider=all&sort=trending)"
|
| 315 |
)
|
| 316 |
|
| 317 |
# New BYOK textbox
|
|
@@ -351,6 +350,7 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
| 351 |
"liuhaotian/llava-v1.6-mistral-7b",
|
| 352 |
|
| 353 |
# Standard text models
|
|
|
|
| 354 |
"meta-llama/Llama-3.3-70B-Instruct",
|
| 355 |
"meta-llama/Llama-3.1-70B-Instruct",
|
| 356 |
"meta-llama/Llama-3.0-70B-Instruct",
|
|
@@ -378,11 +378,11 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
| 378 |
featured_model_radio = gr.Radio(
|
| 379 |
label="Select a model below",
|
| 380 |
choices=models_list,
|
| 381 |
-
value="meta-llama/Llama-3.
|
| 382 |
interactive=True
|
| 383 |
)
|
| 384 |
|
| 385 |
-
gr.Markdown("[View all multimodal models](https://huggingface.co/models?pipeline_tag=image-to-text&sort=trending)")
|
| 386 |
|
| 387 |
# Chat history state
|
| 388 |
chat_history = gr.State([])
|
|
|
|
| 223 |
chatbot = gr.Chatbot(
|
| 224 |
height=600,
|
| 225 |
show_copy_button=True,
|
| 226 |
+
placeholder="Select a model and begin chatting. Now supports multiple inference providers and multimodal inputs",
|
| 227 |
layout="panel"
|
| 228 |
)
|
| 229 |
print("Chatbot interface created.")
|
|
|
|
| 311 |
choices=providers_list,
|
| 312 |
value="hf-inference",
|
| 313 |
label="Inference Provider",
|
|
|
|
| 314 |
)
|
| 315 |
|
| 316 |
# New BYOK textbox
|
|
|
|
| 350 |
"liuhaotian/llava-v1.6-mistral-7b",
|
| 351 |
|
| 352 |
# Standard text models
|
| 353 |
+
"meta-llama/Llama-3.2-11B-Vision-Instruct",
|
| 354 |
"meta-llama/Llama-3.3-70B-Instruct",
|
| 355 |
"meta-llama/Llama-3.1-70B-Instruct",
|
| 356 |
"meta-llama/Llama-3.0-70B-Instruct",
|
|
|
|
| 378 |
featured_model_radio = gr.Radio(
|
| 379 |
label="Select a model below",
|
| 380 |
choices=models_list,
|
| 381 |
+
value="meta-llama/Llama-3.2-11B-Vision-Instruct", # Default to a multimodal model
|
| 382 |
interactive=True
|
| 383 |
)
|
| 384 |
|
| 385 |
+
gr.Markdown("[View all Text-to-Text models](https://huggingface.co/models?inference_provider=all&sort=trending) | [View all multimodal models](https://huggingface.co/models?pipeline_tag=image-to-text&sort=trending)")
|
| 386 |
|
| 387 |
# Chat history state
|
| 388 |
chat_history = gr.State([])
|