alihmaou commited on
Commit
6fc03a1
·
verified ·
1 Parent(s): 9caefeb

Update src/mcp_server/server.py

Browse files
Files changed (1) hide show
  1. src/mcp_server/server.py +2 -2
src/mcp_server/server.py CHANGED
@@ -610,13 +610,13 @@ with gr.Blocks(title="MCePtion") as demo:
610
  except Exception:
611
  pass
612
  except Exception as e:
613
- example_content = f"Unable to load Readme.md: {str(e)}"
614
 
615
  with gr.Tab("EXAMPLES"):
616
  # Lecture du fichier Examples.md
617
  example_content = ""
618
  try:
619
- with open("/assets/Examples.md", "r", encoding="utf-8") as f:
620
  example_content = f.read()
621
  except Exception as e:
622
  example_content = f"Unable to load Examples.md: {str(e)}"
 
610
  except Exception:
611
  pass
612
  except Exception as e:
613
+ readme_content = f"Unable to load Readme.md: {str(e)}"
614
 
615
  with gr.Tab("EXAMPLES"):
616
  # Lecture du fichier Examples.md
617
  example_content = ""
618
  try:
619
+ with open("/assets/Examples.MD", "r", encoding="utf-8") as f:
620
  example_content = f.read()
621
  except Exception as e:
622
  example_content = f"Unable to load Examples.md: {str(e)}"