Hermes SIQ-1-35B on ZeroGPU (llama-cpp-python recipe)
Browse files
app.py
CHANGED
|
@@ -483,14 +483,14 @@ EXAMPLES = [
|
|
| 483 |
"A markdown scratchpad with live split preview and a word count.",
|
| 484 |
]
|
| 485 |
|
| 486 |
-
with gr.Blocks(title="Hermes · SIQ-1-35B",
|
| 487 |
gr.HTML(HERO)
|
| 488 |
meta_state = gr.State([])
|
| 489 |
with gr.Row(equal_height=False):
|
| 490 |
with gr.Column(scale=5):
|
| 491 |
chatbot = gr.Chatbot(
|
| 492 |
-
height=460,
|
| 493 |
-
|
| 494 |
)
|
| 495 |
fb_status = gr.Markdown("")
|
| 496 |
msg = gr.Textbox(
|
|
@@ -506,7 +506,7 @@ with gr.Blocks(title="Hermes · SIQ-1-35B", theme=THEME, css=CSS, fill_height=Tr
|
|
| 506 |
with gr.Tab("🖥 Preview"):
|
| 507 |
preview = gr.HTML(_EMPTY_PREVIEW)
|
| 508 |
with gr.Tab("🧩 Code"):
|
| 509 |
-
code_box = gr.Code(label=None, language="html"
|
| 510 |
with gr.Tab("🧠 Reasoning"):
|
| 511 |
think_box = gr.Markdown(_NO_REASONING)
|
| 512 |
with gr.Tab("📝 Raw"):
|
|
@@ -539,4 +539,4 @@ with gr.Blocks(title="Hermes · SIQ-1-35B", theme=THEME, css=CSS, fill_height=Tr
|
|
| 539 |
)
|
| 540 |
chatbot.like(on_like, [meta_state], [fb_status])
|
| 541 |
|
| 542 |
-
demo.queue().launch()
|
|
|
|
| 483 |
"A markdown scratchpad with live split preview and a word count.",
|
| 484 |
]
|
| 485 |
|
| 486 |
+
with gr.Blocks(title="Hermes · SIQ-1-35B", fill_height=True) as demo:
|
| 487 |
gr.HTML(HERO)
|
| 488 |
meta_state = gr.State([])
|
| 489 |
with gr.Row(equal_height=False):
|
| 490 |
with gr.Column(scale=5):
|
| 491 |
chatbot = gr.Chatbot(
|
| 492 |
+
height=460, show_label=False,
|
| 493 |
+
placeholder="🪽 Ask Hermes to build something.",
|
| 494 |
)
|
| 495 |
fb_status = gr.Markdown("")
|
| 496 |
msg = gr.Textbox(
|
|
|
|
| 506 |
with gr.Tab("🖥 Preview"):
|
| 507 |
preview = gr.HTML(_EMPTY_PREVIEW)
|
| 508 |
with gr.Tab("🧩 Code"):
|
| 509 |
+
code_box = gr.Code(label=None, language="html")
|
| 510 |
with gr.Tab("🧠 Reasoning"):
|
| 511 |
think_box = gr.Markdown(_NO_REASONING)
|
| 512 |
with gr.Tab("📝 Raw"):
|
|
|
|
| 539 |
)
|
| 540 |
chatbot.like(on_like, [meta_state], [fb_status])
|
| 541 |
|
| 542 |
+
demo.queue().launch(theme=THEME, css=CSS)
|