Spaces:
Runtime error
Runtime error
Commit
·
e4b743f
1
Parent(s):
870c16a
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ from apscheduler.schedulers.background import BackgroundScheduler
|
|
| 15 |
|
| 16 |
import random
|
| 17 |
import time
|
| 18 |
-
|
| 19 |
|
| 20 |
|
| 21 |
|
|
@@ -88,7 +88,8 @@ def run_code():
|
|
| 88 |
log_everything(subway)
|
| 89 |
code5="subway.run()"
|
| 90 |
exec(code5)
|
| 91 |
-
|
|
|
|
| 92 |
|
| 93 |
css="footer {visibility: hidden}"
|
| 94 |
|
|
|
|
| 15 |
|
| 16 |
import random
|
| 17 |
import time
|
| 18 |
+
import requests
|
| 19 |
|
| 20 |
|
| 21 |
|
|
|
|
| 88 |
log_everything(subway)
|
| 89 |
code5="subway.run()"
|
| 90 |
exec(code5)
|
| 91 |
+
response = requests.get("/logs")
|
| 92 |
+
print(response)
|
| 93 |
|
| 94 |
css="footer {visibility: hidden}"
|
| 95 |
|