Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -259,16 +259,7 @@ phi4_model = AutoModelForCausalLM.from_pretrained(
|
|
259 |
# ------------------------------------------------------------------------------
|
260 |
|
261 |
DESCRIPTION = """
|
262 |
-
# Agent Dino 🌠
|
263 |
-
This chatbot supports various commands:
|
264 |
-
- **@tts1 / @tts2:** text-to-speech
|
265 |
-
- **@image:** image generation
|
266 |
-
- **@3d:** 3D mesh generation
|
267 |
-
- **@web:** web search/visit
|
268 |
-
- **@rAgent:** reasoning chain
|
269 |
-
- **@yolo:** object detection
|
270 |
-
- **@phi4:** multimodal (image/audio) question answering
|
271 |
-
"""
|
272 |
|
273 |
css = '''
|
274 |
h1 {
|
@@ -714,15 +705,16 @@ demo = gr.ChatInterface(
|
|
714 |
gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
|
715 |
],
|
716 |
examples=[
|
|
|
|
|
717 |
["@tts2 What causes rainbows to form?"],
|
718 |
["@image Chocolate dripping from a donut"],
|
719 |
["@3d A birthday cupcake with cherry"],
|
720 |
[{"text": "Summarize the letter", "files": ["examples/1.png"]}],
|
721 |
[{"text": "@yolo", "files": ["examples/yolo.jpeg"]}],
|
722 |
-
["@
|
723 |
["@web Is Grok-3 Beats DeepSeek-R1 at Reasoning ?"],
|
724 |
["@tts1 Explain Tower of Hanoi"],
|
725 |
-
["@phi4 What is depicted in this image?"], # Example for @phi4
|
726 |
],
|
727 |
cache_examples=False,
|
728 |
type="messages",
|
|
|
259 |
# ------------------------------------------------------------------------------
|
260 |
|
261 |
DESCRIPTION = """
|
262 |
+
# Agent Dino 🌠 """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
|
264 |
css = '''
|
265 |
h1 {
|
|
|
705 |
gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
|
706 |
],
|
707 |
examples=[
|
708 |
+
[{"text": "@phi4 Solve the problem", "files": ["examples/math.webp"]}],
|
709 |
+
[{"text": "@phi4 Transcribe the audio to text.", "files": ["examples/harvard.wav"]}],
|
710 |
["@tts2 What causes rainbows to form?"],
|
711 |
["@image Chocolate dripping from a donut"],
|
712 |
["@3d A birthday cupcake with cherry"],
|
713 |
[{"text": "Summarize the letter", "files": ["examples/1.png"]}],
|
714 |
[{"text": "@yolo", "files": ["examples/yolo.jpeg"]}],
|
715 |
+
["@ragent Explain how a binary search algorithm works."],
|
716 |
["@web Is Grok-3 Beats DeepSeek-R1 at Reasoning ?"],
|
717 |
["@tts1 Explain Tower of Hanoi"],
|
|
|
718 |
],
|
719 |
cache_examples=False,
|
720 |
type="messages",
|