Ahmed235 commited on
Commit
ca1ab73
·
verified ·
1 Parent(s): 5833f42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def predict_pptx_content(file_path):
43
  iface = gr.Interface(
44
  fn=predict_pptx_content,
45
  inputs=gr.File(type="filepath", label="Upload PowerPoint (.pptx) file"),
46
- outputs=[gr.Textbox("Summary"), gr.Textbox("Evaluation"), gr.Textbox("Predicted_Label")], # Adjusted output keys
47
  live=False, # Change to True for one-time analysis
48
  title="<h1 style='color: lightgreen; text-align: center;'>HackTalk Analyzer</h1>",
49
  )
 
43
  iface = gr.Interface(
44
  fn=predict_pptx_content,
45
  inputs=gr.File(type="filepath", label="Upload PowerPoint (.pptx) file"),
46
+ outputs=[gr.Textbox(summary), gr.Textbox(predicted_probability), gr.Textbox(predicted_label)], # Adjusted output keys
47
  live=False, # Change to True for one-time analysis
48
  title="<h1 style='color: lightgreen; text-align: center;'>HackTalk Analyzer</h1>",
49
  )