amendolajine commited on
Commit
5357f77
·
1 Parent(s): c378e3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def extract_abstract(pdf_bytes):
25
  # Function to process text (summarize and convert to speech)
26
  def process_text(uploaded_file):
27
  # Extract the file data (byte content) from the uploaded file
28
- pdf_bytes = uploaded_file #["data"]
29
  abstract_text = extract_abstract(pdf_bytes)
30
 
31
  # Generate summary
 
25
  # Function to process text (summarize and convert to speech)
26
  def process_text(uploaded_file):
27
  # Extract the file data (byte content) from the uploaded file
28
+ pdf_bytes = uploaded_file ["data"]
29
  abstract_text = extract_abstract(pdf_bytes)
30
 
31
  # Generate summary