import gradio as gr import markdown def markdowntext(text): return markdown.markdown(text) iface = gr.Interface(fn=markdowntext, inputs="text", outputs="text") iface.launch()