Spaces:
Runtime error
Runtime error
Update app.py
Browse files56 unmodified lines5758596061626356 unmodified linesmodel = AutoModel.from_pretrained("suno/bark-small").to(device)# Extract abstractabstract_text = extract_abstract(pdf_file)if not abstract_text:return "No 'abstract' section found in the uploaded PDF. Please upload a different PDF."56 unmodified lines5758596061626356 unmodified linesmodel = AutoModel.from_pretrained("suno/bark-small").to(device)# Extract abstractabstract_text = extract_text_from_pdf(pdf_file)if not abstract_text:return "No 'abstract' section found in the uploaded PDF. Please upload a different PDF."
app.py+1-1