Ahmed235 commited on
Commit
e2d35e8
·
verified ·
1 Parent(s): 444a303

Update app.py

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