Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,14 +186,14 @@ if __name__ == "__main__":
|
|
| 186 |
print("\n" + "-"*30 + " App Starting " + "-"*30)
|
| 187 |
|
| 188 |
agent = BasicAgent() #sanity check
|
| 189 |
-
test_questions = [
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
]
|
| 194 |
-
for q in test_questions:
|
| 195 |
-
|
| 196 |
-
|
| 197 |
|
| 198 |
# Check for SPACE_HOST and SPACE_ID at startup for information
|
| 199 |
space_host_startup = os.getenv("SPACE_HOST")
|
|
|
|
| 186 |
print("\n" + "-"*30 + " App Starting " + "-"*30)
|
| 187 |
|
| 188 |
agent = BasicAgent() #sanity check
|
| 189 |
+
# test_questions = [
|
| 190 |
+
# "What is 2 + 2?",
|
| 191 |
+
# "What is the capital of Japan?",
|
| 192 |
+
# "Who is the CEO of Tesla?",
|
| 193 |
+
# ]
|
| 194 |
+
# for q in test_questions:
|
| 195 |
+
# print(f"Q: {q}")
|
| 196 |
+
# print(f"A: {agent(q)}")
|
| 197 |
|
| 198 |
# Check for SPACE_HOST and SPACE_ID at startup for information
|
| 199 |
space_host_startup = os.getenv("SPACE_HOST")
|