Vasanth M commited on
Commit
5a7c7c3
·
1 Parent(s): 7730595
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
 
3
  def convert_temperature(temp: str, unit: str) -> dict[str, str]:
4
  """
@@ -56,7 +57,7 @@ def map_output(result: dict[str, str]) -> list[str]:
56
 
57
  # Debug prints
58
  print("Gradio Version:", gr.__version__)
59
- print("MCP Server Enabled:", gr.mcp_server_enabled())
60
 
61
  # Define the Gradio interface
62
  with gr.Blocks() as app:
 
1
  import gradio as gr
2
+ import os
3
 
4
  def convert_temperature(temp: str, unit: str) -> dict[str, str]:
5
  """
 
57
 
58
  # Debug prints
59
  print("Gradio Version:", gr.__version__)
60
+ print("MCP Server Configured:", os.getenv("GRADIO_MCP_SERVER", "False"))
61
 
62
  # Define the Gradio interface
63
  with gr.Blocks() as app: