Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -237,23 +237,10 @@ def query_database(query):
|
|
237 |
|
238 |
return df
|
239 |
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
"Tell me a joke that Calculus students will understand.",
|
245 |
-
"How should I review for the AP Biology Exam?",
|
246 |
-
"What kind of resources are available in PA and Indexademics?",
|
247 |
-
"What is the StandardCAS™ group?",
|
248 |
-
"Explain the concept of quantum entanglement.",
|
249 |
-
"What are the main differences between mitosis and meiosis?",
|
250 |
-
"How does the Doppler effect work?",
|
251 |
-
"Explain the process of photosynthesis.",
|
252 |
-
"What is the significance of the Pythagorean theorem?",
|
253 |
-
"How does natural selection contribute to evolution?",
|
254 |
-
"What is the most important chapter in AP Statistics?",
|
255 |
-
"How should I prepare on the IB Chinese Exam?"
|
256 |
-
]
|
257 |
|
258 |
import random
|
259 |
|
|
|
237 |
|
238 |
return df
|
239 |
|
240 |
+
|
241 |
+
with open('example_queries.txt',mode='r') as file:
|
242 |
+
example_database = file.read().split('\n')
|
243 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
|
245 |
import random
|
246 |
|