Ahmed235 commited on
Commit
e36289c
·
verified ·
1 Parent(s): b17b028

Update app.py

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