mrfakename commited on
Commit
ffc835f
·
verified ·
1 Parent(s): 97fc5e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -135,7 +135,4 @@ with gr.Blocks(title="Kokoro Text-to-Audio MCP") as app:
135
 
136
  # Launch the app with MCP support
137
  if __name__ == "__main__":
138
- # Check for environment variable to enable MCP
139
- enable_mcp = os.environ.get('GRADIO_MCP_SERVER', 'False').lower() in ('true', '1', 't')
140
-
141
- app.launch(mcp_server=True)
 
135
 
136
  # Launch the app with MCP support
137
  if __name__ == "__main__":
138
+ app.launch()