melbamorph commited on
Commit
d4313f7
·
verified ·
1 Parent(s): 41e1c3e

Update app.py

Browse files

fix indent error

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def get_bookbrain()-> str:
37
  f"Title: {title}\nAuthor: {author}\nTopics: {topics}\nSummary: {summary}"
38
  )
39
 
40
- return "\n\n---\n\n".join(books_str_list) if books_str_list else "No books found."
41
  except Exception as e:
42
  return f"Failed to fetch books from BookBrain due to: {str(e)}"
43
 
 
37
  f"Title: {title}\nAuthor: {author}\nTopics: {topics}\nSummary: {summary}"
38
  )
39
 
40
+ return "\n\n---\n\n".join(books_str_list) if books_str_list else "No books found."
41
  except Exception as e:
42
  return f"Failed to fetch books from BookBrain due to: {str(e)}"
43