Ahmed235 commited on
Commit
a851be8
·
verified ·
1 Parent(s): 1528109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def predict_pptx_content(file_path):
47
  # Define the Gradio interface
48
  iface = gr.Interface(
49
  fn=predict_pptx_content,
50
- inputs=gr.File(type="file", label="Upload PowerPoint (.pptx) file"),
51
  outputs=["text", "text"], # Predicted Label, Evaluation, Summary
52
  live=False, # Change to False for one-time analysis
53
  title="<h1 style='color: lightgreen; text-align: center;'>PPTX Analyzer</h1>",
 
47
  # Define the Gradio interface
48
  iface = gr.Interface(
49
  fn=predict_pptx_content,
50
+ inputs=gr.File(type="filepath", label="Upload PowerPoint (.pptx) file"),
51
  outputs=["text", "text"], # Predicted Label, Evaluation, Summary
52
  live=False, # Change to False for one-time analysis
53
  title="<h1 style='color: lightgreen; text-align: center;'>PPTX Analyzer</h1>",