multimodalart HF Staff commited on
Commit
806ce57
·
verified ·
1 Parent(s): 8ca247c

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -102,7 +102,7 @@ CSS = """
102
  .dark .gradio-container { color: var(--body-text-color); }
103
  """
104
 
105
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) 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,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)