mrsk1883 commited on
Commit
45ca8c3
·
1 Parent(s): 76e4ec0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -43,7 +43,8 @@ def summarize_pdf_abstract(pdf_file):
43
  speech_bytes = BytesIO()
44
  speech.write_to_fp(speech_bytes)
45
 
46
- return {"summary": summary_sentence, "audio": speech_bytes}
 
47
 
48
  except Exception as e:
49
  raise Exception(str(e))
 
43
  speech_bytes = BytesIO()
44
  speech.write_to_fp(speech_bytes)
45
 
46
+ # Return individual output values
47
+ return summary_sentence, speech_bytes
48
 
49
  except Exception as e:
50
  raise Exception(str(e))