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