Ahmed235 commited on
Commit
7044543
·
verified ·
1 Parent(s): 89863a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file", 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>",
 
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>",