Update app.py
Browse files
app.py
CHANGED
|
@@ -21,12 +21,10 @@ import notion_df
|
|
| 21 |
# my_API_KEY = os.environ["NOTION"]
|
| 22 |
# notion = Client(auth=my_API_KEY)
|
| 23 |
# # find the page you want to upload the file to
|
| 24 |
-
# page = notion.pages.retrieve(page_id="37660063895a4525b5cd8feffd43f5d5")
|
| 25 |
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
|
| 28 |
-
ACCESS_TOKEN = os.environ["ACCESS_TOKEN"]
|
| 29 |
-
dbx = dropbox.Dropbox(ACCESS_TOKEN)
|
| 30 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
| 31 |
|
| 32 |
initial_message = {"role": "system", "content": 'You are a USMLE Tutor. Respond with ALWAYS layered "bullet points" (listing rather than sentences) to all input with a fun mneumonics to memorize that list. But you can answer up to 1200 words if the user requests longer response.'}
|
|
|
|
| 21 |
# my_API_KEY = os.environ["NOTION"]
|
| 22 |
# notion = Client(auth=my_API_KEY)
|
| 23 |
# # find the page you want to upload the file to
|
|
|
|
| 24 |
|
| 25 |
+
# ACCESS_TOKEN = os.environ["ACCESS_TOKEN"]
|
| 26 |
+
# dbx = dropbox.Dropbox(ACCESS_TOKEN)
|
| 27 |
|
|
|
|
|
|
|
|
|
|
| 28 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
| 29 |
|
| 30 |
initial_message = {"role": "system", "content": 'You are a USMLE Tutor. Respond with ALWAYS layered "bullet points" (listing rather than sentences) to all input with a fun mneumonics to memorize that list. But you can answer up to 1200 words if the user requests longer response.'}
|