Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def process_pptx(pptx_file):
|
|
112 |
iface = gr.Interface(
|
113 |
fn=process_pptx,
|
114 |
inputs=gr.File(label="Upload PowerPoint File"),
|
115 |
-
outputs=[gr.Textbox(label="JSON Output"), gr.Gallery(label="Extracted Images"), gr.Image(label="PPT Preview")],
|
116 |
title="PowerPoint to JSON Converter",
|
117 |
description="Upload a PowerPoint file to convert its structure to JSON and display extracted images."
|
118 |
)
|
|
|
112 |
iface = gr.Interface(
|
113 |
fn=process_pptx,
|
114 |
inputs=gr.File(label="Upload PowerPoint File"),
|
115 |
+
outputs=[gr.Textbox(label="JSON Output"), gr.Gallery(label="Extracted Images"), gr.Image(type="filepath", label="PPT Preview")],
|
116 |
title="PowerPoint to JSON Converter",
|
117 |
description="Upload a PowerPoint file to convert its structure to JSON and display extracted images."
|
118 |
)
|