Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def predict_pptx_content(file_path):
|
|
54 |
# Define the Gradio interface
|
55 |
iface = gr.Interface(
|
56 |
fn=predict_pptx_content,
|
57 |
-
inputs=gr.File(type="
|
58 |
outputs=["text", "text", "text"], # Predicted Label, Evaluation, Summary
|
59 |
live=False, # Change to True for one-time analysis
|
60 |
title="<h1 style='color: lightgreen; text-align: center;'>PPTX Analyzer</h1>",
|
|
|
54 |
# Define the Gradio interface
|
55 |
iface = gr.Interface(
|
56 |
fn=predict_pptx_content,
|
57 |
+
inputs=gr.File(type="filepath", label="Upload PowerPoint (.pptx) file"),
|
58 |
outputs=["text", "text", "text"], # Predicted Label, Evaluation, Summary
|
59 |
live=False, # Change to True for one-time analysis
|
60 |
title="<h1 style='color: lightgreen; text-align: center;'>PPTX Analyzer</h1>",
|