Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import markdown
|
3 |
|
4 |
-
def
|
5 |
return markdown.markdown(text)
|
6 |
|
7 |
-
iface = gr.Interface(fn=
|
8 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
import markdown
|
3 |
|
4 |
+
def markdowntext(text):
|
5 |
return markdown.markdown(text)
|
6 |
|
7 |
+
iface = gr.Interface(fn=markdowntext, inputs="text", outputs="text")
|
8 |
iface.launch()
|