Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def predict_pptx_content(file_path):
|
|
49 |
# Define the Gradio interface
|
50 |
iface = gr.Interface(
|
51 |
fn=predict_pptx_content,
|
52 |
-
inputs=gr.File(type="
|
53 |
outputs=gr.Textbox("output"),
|
54 |
live=False,
|
55 |
title="<h1 style='color: lightgreen; text-align: center;'>HackTalk Analyzer</h1>",
|
|
|
49 |
# Define the Gradio interface
|
50 |
iface = gr.Interface(
|
51 |
fn=predict_pptx_content,
|
52 |
+
inputs=gr.File(type="filepath", label="Upload PowerPoint (.pptx) file"),
|
53 |
outputs=gr.Textbox("output"),
|
54 |
live=False,
|
55 |
title="<h1 style='color: lightgreen; text-align: center;'>HackTalk Analyzer</h1>",
|