Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ If no code or actions are requested, respond conversationally and help the user
|
|
83 |
|
84 |
def escape_html_for_markdown(text):
|
85 |
if not isinstance(text, str): return ""
|
86 |
-
return text.replace("&", "&").replace("<", "
|
87 |
|
88 |
def _infer_lang_from_filename(filename):
|
89 |
if not filename: return "plaintext"
|
@@ -972,4 +972,4 @@ with gr.Blocks(theme=custom_theme, css=custom_css) as demo:
|
|
972 |
refresh_status_button.click(fn=handle_refresh_space_status, inputs=[hf_api_key_input, owner_name_input, space_name_input], outputs=[space_runtime_status_display])
|
973 |
|
974 |
if __name__ == "__main__":
|
975 |
-
demo.launch(debug=False, mcp_server=True)
|
|
|
83 |
|
84 |
def escape_html_for_markdown(text):
|
85 |
if not isinstance(text, str): return ""
|
86 |
+
return text.replace("&", "&").replace("<", "<").replace(">", ">")
|
87 |
|
88 |
def _infer_lang_from_filename(filename):
|
89 |
if not filename: return "plaintext"
|
|
|
972 |
refresh_status_button.click(fn=handle_refresh_space_status, inputs=[hf_api_key_input, owner_name_input, space_name_input], outputs=[space_runtime_status_display])
|
973 |
|
974 |
if __name__ == "__main__":
|
975 |
+
demo.launch(debug=False, mcp_server=True)
|