markdown / app.py
pip64's picture
Update app.py
108dc0e
raw
history blame contribute delete
180 Bytes
import gradio as gr
import markdown
def markdowntext(text):
return markdown.markdown(text)
iface = gr.Interface(fn=markdowntext, inputs="text", outputs="text")
iface.launch()