Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ CSS = """
|
|
| 102 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 103 |
"""
|
| 104 |
|
| 105 |
-
with gr.Blocks(
|
| 106 |
gr.Markdown(
|
| 107 |
"# 🌐 Translate Gemma 4 Sub — Context-Aware Subtitle Translation\n"
|
| 108 |
"A multilingual Gemma 4 fine-tune specialized for subtitle translation. "
|
|
@@ -183,4 +183,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 183 |
)
|
| 184 |
|
| 185 |
if __name__ == "__main__":
|
| 186 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 102 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 103 |
"""
|
| 104 |
|
| 105 |
+
with gr.Blocks() as demo:
|
| 106 |
gr.Markdown(
|
| 107 |
"# 🌐 Translate Gemma 4 Sub — Context-Aware Subtitle Translation\n"
|
| 108 |
"A multilingual Gemma 4 fine-tune specialized for subtitle translation. "
|
|
|
|
| 183 |
)
|
| 184 |
|
| 185 |
if __name__ == "__main__":
|
| 186 |
+
demo.launch(theme=gr.themes.Citrus(), css=CSS, mcp_server=True)
|