Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,7 @@ def convert_to_markdown(file):
|
|
9 |
iface = gr.Interface(
|
10 |
fn=convert_to_markdown,
|
11 |
inputs=gr.File(label="Upload your file"),
|
12 |
-
outputs=
|
13 |
-
gr.Textbox(label="Markdown Output", lines=15, interactive=True), # Make the output scrollable
|
14 |
-
gr.Button("Copy to Clipboard", type="copy", value="Markdown Output") # Add Copy button
|
15 |
-
],
|
16 |
title="File to Markdown Converter",
|
17 |
description="Upload a file to convert its content to Markdown using Microsoft's markitdown library.",
|
18 |
)
|
|
|
9 |
iface = gr.Interface(
|
10 |
fn=convert_to_markdown,
|
11 |
inputs=gr.File(label="Upload your file"),
|
12 |
+
outputs=gr.Textbox(label="Markdown Output"),
|
|
|
|
|
|
|
13 |
title="File to Markdown Converter",
|
14 |
description="Upload a file to convert its content to Markdown using Microsoft's markitdown library.",
|
15 |
)
|