Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,6 +54,18 @@ pdf_urls = [
|
|
| 54 |
"https://media.datacamp.com/cms/python-basics-cheat-sheet-v4.pdf"
|
| 55 |
]
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Defines a function to download a file from a URL if it doesn't already exist locally.
|
| 58 |
def download_if_needed(url, filename):
|
| 59 |
# Check if the file path does not exist.
|
|
|
|
| 54 |
"https://media.datacamp.com/cms/python-basics-cheat-sheet-v4.pdf"
|
| 55 |
]
|
| 56 |
|
| 57 |
+
# -----------------------------
|
| 58 |
+
# Example Questions
|
| 59 |
+
# -----------------------------
|
| 60 |
+
example_questions=[
|
| 61 |
+
"How do you log into Azure using device code authentication?",
|
| 62 |
+
"What are the three main components of an AI agent?",
|
| 63 |
+
"What are the \"core four\" Hugging Face libraries?",
|
| 64 |
+
"What SQL clause is used to filter data after grouping?",
|
| 65 |
+
"What is the latest GPT model?"
|
| 66 |
+
]
|
| 67 |
+
|
| 68 |
+
|
| 69 |
# Defines a function to download a file from a URL if it doesn't already exist locally.
|
| 70 |
def download_if_needed(url, filename):
|
| 71 |
# Check if the file path does not exist.
|