Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -514,20 +514,27 @@ demo = gr.ChatInterface(
|
|
514 |
gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
|
515 |
],
|
516 |
examples=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
[{"text": "@video-infer Describe the Ad", "files": ["examples/coca.mp4"]}],
|
518 |
[{"text": "@video-infer Summarize the event in video", "files": ["examples/sky.mp4"]}],
|
519 |
[{"text": "@video-infer Describe the video", "files": ["examples/Missing.mp4"]}],
|
520 |
-
["@image Chocolate dripping from a donut"],
|
521 |
-
["Python Program for Array Rotation"],
|
522 |
-
["@tara-tts Who is Nikola Tesla, and why did he die?"],
|
523 |
-
["@emma-llm Explain the causes of rainbows"],
|
524 |
[{"text": "Extract JSON from the image", "files": ["examples/document.jpg"]}],
|
525 |
-
|
526 |
-
["@josh-tts What causes rainbows to form?"],
|
527 |
],
|
528 |
cache_examples=False,
|
529 |
type="messages",
|
530 |
-
description="# **Llama Edge
|
531 |
fill_height=True,
|
532 |
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image", "video"], file_count="multiple", placeholder=" Use @tara-tts/@dan-tts for direct TTS or @tara-llm/@dan-llm for LLM+TTS, etc."),
|
533 |
stop_btn="Stop Generation",
|
|
|
514 |
gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
|
515 |
],
|
516 |
examples=[
|
517 |
+
|
518 |
+
["@josh-tts Hey! I’m Josh, <gasp> and wow, did I just surprise you with my realistic voice?"],
|
519 |
+
["@emma-tts Hey, I’m Emma, <sigh> and yes, I can talk just like a person… even when I’m tired."],
|
520 |
+
["@tara-tts Hey there, my name is Tara, <laugh> and I’m a speech generation model that can sound just like you!"],
|
521 |
+
["@dan-tts Yo, I’m Dan, <groan> and yes, I can even sound annoyed if I have to."],
|
522 |
+
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
523 |
+
["Write python program for array rotation"],
|
524 |
+
["@dan-llm Explain the General Relativity theorem in short"],
|
525 |
+
["@tara-llm Who is Nikola Tesla, and why did he die?"],
|
526 |
+
["@emma-llm Explain the causes of rainbows"],
|
527 |
+
["@josh-llm What causes rainbows to form?"],
|
528 |
+
["@image Chocolate dripping from a donut"],
|
529 |
[{"text": "@video-infer Describe the Ad", "files": ["examples/coca.mp4"]}],
|
530 |
[{"text": "@video-infer Summarize the event in video", "files": ["examples/sky.mp4"]}],
|
531 |
[{"text": "@video-infer Describe the video", "files": ["examples/Missing.mp4"]}],
|
|
|
|
|
|
|
|
|
532 |
[{"text": "Extract JSON from the image", "files": ["examples/document.jpg"]}],
|
533 |
+
|
|
|
534 |
],
|
535 |
cache_examples=False,
|
536 |
type="messages",
|
537 |
+
description="# **Llama Edge🧤** `voices: tara, dan, emma, josh \n<laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. \n Use @video-infer, @image, @<voice>-tts, or @<voice>-llm triggers llm response`",
|
538 |
fill_height=True,
|
539 |
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image", "video"], file_count="multiple", placeholder=" Use @tara-tts/@dan-tts for direct TTS or @tara-llm/@dan-llm for LLM+TTS, etc."),
|
540 |
stop_btn="Stop Generation",
|