Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,16 @@ example_questions=[
|
|
| 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):
|
|
|
|
| 65 |
"What is the latest GPT model?"
|
| 66 |
]
|
| 67 |
|
| 68 |
+
# -----------------------------
|
| 69 |
+
# Chat Functions
|
| 70 |
+
# -----------------------------
|
| 71 |
+
initial_chat = [
|
| 72 |
+
{
|
| 73 |
+
"role": "assistant",
|
| 74 |
+
"content": "Hello, I am Dox, the Data Professional's Guide. Ask me a question about data."
|
| 75 |
+
}
|
| 76 |
+
]
|
| 77 |
+
|
| 78 |
|
| 79 |
# Defines a function to download a file from a URL if it doesn't already exist locally.
|
| 80 |
def download_if_needed(url, filename):
|