Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -630,8 +630,12 @@ def task_moe_create(hf_token, base_model, experts_text, gate_mode, dtype, tok_so
|
|
| 630 |
|
| 631 |
css = ".container { max-width: 1100px; margin: auto; }"
|
| 632 |
|
| 633 |
-
with gr.Blocks(
|
| 634 |
-
gr.HTML(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 635 |
|
| 636 |
with gr.Tabs():
|
| 637 |
# --- ORIGINAL TABS ---
|
|
@@ -758,4 +762,4 @@ with gr.Blocks(css=css, title="SOONmerge®") as demo:
|
|
| 758 |
t7_btn.click(task_dare_custom, [t7_token, t7_base, t7_ft, t7_ratio, t7_mask, t7_out, t7_priv], t7_res)
|
| 759 |
|
| 760 |
if __name__ == "__main__":
|
| 761 |
-
demo.queue().launch(
|
|
|
|
| 630 |
|
| 631 |
css = ".container { max-width: 1100px; margin: auto; }"
|
| 632 |
|
| 633 |
+
with gr.Blocks() as demo:
|
| 634 |
+
title = gr.HTML(
|
| 635 |
+
"""<h1><img src="https://huggingface.co/spaces/AlekseyCalvin/Soon_Merger/resolve/main/SMerger3.png" alt="SOONmerge®"> Transform Transformers for FREE!</h1>""",
|
| 636 |
+
elem_id="title",
|
| 637 |
+
)
|
| 638 |
+
gr.Markdown("# 🧰Training-Free CPU-run Model Creation Toolkit")
|
| 639 |
|
| 640 |
with gr.Tabs():
|
| 641 |
# --- ORIGINAL TABS ---
|
|
|
|
| 762 |
t7_btn.click(task_dare_custom, [t7_token, t7_base, t7_ft, t7_ratio, t7_mask, t7_out, t7_priv], t7_res)
|
| 763 |
|
| 764 |
if __name__ == "__main__":
|
| 765 |
+
demo.queue().launch(css=css, ssr_mode=False)
|