jeremierostan
commited on
Commit
•
cea34fb
1
Parent(s):
9961907
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ username = os.getenv('username')
|
|
8 |
password = os.getenv('password')
|
9 |
|
10 |
# Add the path to your desired knowledge base
|
11 |
-
reference_document = "
|
12 |
reader = PdfReader(reference_document)
|
13 |
text = ''.join(page.extract_text() for page in reader.pages)
|
14 |
|
@@ -80,7 +80,7 @@ iface = gr.ChatInterface(
|
|
80 |
theme=anthropic_theme,
|
81 |
|
82 |
# Change examples as desired
|
83 |
-
examples=["What are the key
|
84 |
cache_examples=True,
|
85 |
retry_btn=None,
|
86 |
undo_btn="Delete Previous",
|
|
|
8 |
password = os.getenv('password')
|
9 |
|
10 |
# Add the path to your desired knowledge base
|
11 |
+
reference_document = "Rosenshine+Principles+red.pdf"
|
12 |
reader = PdfReader(reference_document)
|
13 |
text = ''.join(page.extract_text() for page in reader.pages)
|
14 |
|
|
|
80 |
theme=anthropic_theme,
|
81 |
|
82 |
# Change examples as desired
|
83 |
+
examples=["What are the key principles of instructional design?", "What might be barriers to learning?"],
|
84 |
cache_examples=True,
|
85 |
retry_btn=None,
|
86 |
undo_btn="Delete Previous",
|