Spaces:
Running
on
Zero
Running
on
Zero
Liam Dyer
commited on
simplify
Browse files- app.py +3 -5
- requirements.txt +0 -1
app.py
CHANGED
@@ -9,9 +9,7 @@ def convert(file):
|
|
9 |
|
10 |
|
11 |
gr.Interface(
|
12 |
-
|
13 |
-
inputs=
|
14 |
-
|
15 |
-
],
|
16 |
-
outputs=[gr.Text(label="Markdown")],
|
17 |
).launch()
|
|
|
9 |
|
10 |
|
11 |
gr.Interface(
|
12 |
+
convert,
|
13 |
+
inputs=gr.File(label="Upload File", type="filepath"),
|
14 |
+
outputs=gr.Text(label="Markdown"),
|
|
|
|
|
15 |
).launch()
|
requirements.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
pandoc==2.3
|
|
|
|