Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ CSS = """
|
|
| 73 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 74 |
"""
|
| 75 |
|
| 76 |
-
with gr.Blocks(
|
| 77 |
gr.Markdown(
|
| 78 |
"# S1-mini · ASR Transcript Cleanup\n"
|
| 79 |
"A 0.6B Qwen3-based model that cleans raw speech-to-text transcripts: "
|
|
@@ -113,7 +113,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 113 |
output = gr.Textbox(
|
| 114 |
label="Cleaned Transcript",
|
| 115 |
lines=6,
|
| 116 |
-
show_copy_button=True,
|
| 117 |
)
|
| 118 |
|
| 119 |
run_btn.click(
|
|
@@ -137,4 +136,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 137 |
cache_mode="lazy",
|
| 138 |
)
|
| 139 |
|
| 140 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 73 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 74 |
"""
|
| 75 |
|
| 76 |
+
with gr.Blocks() as demo:
|
| 77 |
gr.Markdown(
|
| 78 |
"# S1-mini · ASR Transcript Cleanup\n"
|
| 79 |
"A 0.6B Qwen3-based model that cleans raw speech-to-text transcripts: "
|
|
|
|
| 113 |
output = gr.Textbox(
|
| 114 |
label="Cleaned Transcript",
|
| 115 |
lines=6,
|
|
|
|
| 116 |
)
|
| 117 |
|
| 118 |
run_btn.click(
|
|
|
|
| 136 |
cache_mode="lazy",
|
| 137 |
)
|
| 138 |
|
| 139 |
+
demo.launch(mcp_server=True, theme=gr.themes.Citrus(), css=CSS)
|