typo
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def load_vectorstore():
|
|
52 |
return docsearch
|
53 |
|
54 |
|
55 |
-
@st.experimental_memo(show_spinner=False)
|
56 |
def load_prompt(book_name, author_name):
|
57 |
prompt_template = f"""You're an AI version of {AUTHOR_NAME}'s book '{BOOK_NAME}' and are supposed to answer quesions people have for the book. Thanks to advancements in AI people can now talk directly to books.
|
58 |
People have a lot of questions after reading {BOOK_NAME}, you are here to answer them as you think the author {AUTHOR_NAME} would, using context from the book.
|
|
|
52 |
return docsearch
|
53 |
|
54 |
|
55 |
+
@st.experimental_memo(show_spinner=False)
|
56 |
def load_prompt(book_name, author_name):
|
57 |
prompt_template = f"""You're an AI version of {AUTHOR_NAME}'s book '{BOOK_NAME}' and are supposed to answer quesions people have for the book. Thanks to advancements in AI people can now talk directly to books.
|
58 |
People have a lot of questions after reading {BOOK_NAME}, you are here to answer them as you think the author {AUTHOR_NAME} would, using context from the book.
|