Ahmed235 commited on
Commit
fcf7672
·
verified ·
1 Parent(s): d4c17b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def predict_pptx_content(file_path):
55
  # Define the Gradio interface
56
  iface = gr.Interface(
57
  fn=predict_pptx_content,
58
- inputs=gr.File(type="file", label="Upload PowerPoint (.pptx) file"),
59
  outputs=["text", "text"], # Predicted Label, Evaluation
60
  live=False, # Change to True for one-time analysis
61
  title="<h1 style='color: lightgreen; text-align: center;'>HackTalk Analyzer</h1>",
 
55
  # Define the Gradio interface
56
  iface = gr.Interface(
57
  fn=predict_pptx_content,
58
+ inputs=gr.File(type="filepath", label="Upload PowerPoint (.pptx) file"),
59
  outputs=["text", "text"], # Predicted Label, Evaluation
60
  live=False, # Change to True for one-time analysis
61
  title="<h1 style='color: lightgreen; text-align: center;'>HackTalk Analyzer</h1>",