Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,6 @@ from dotenv import load_dotenv, find_dotenv
|
|
| 10 |
import os
|
| 11 |
import agent.planning_agent as planning_agent
|
| 12 |
import logging
|
| 13 |
-
from trains.utilities.gpu import gpustat
|
| 14 |
|
| 15 |
# Configure logging
|
| 16 |
logging.basicConfig(level=logging.INFO)
|
|
@@ -134,7 +133,6 @@ def main():
|
|
| 134 |
report_debug_text(loer)
|
| 135 |
# report graphs
|
| 136 |
report_table(loer)
|
| 137 |
-
report_logs(gpustat.new_query().jsonify())
|
| 138 |
loer.flush()
|
| 139 |
except Exception as e:
|
| 140 |
logger.error(f"Error in main: {str(e)}")
|
|
|
|
| 10 |
import os
|
| 11 |
import agent.planning_agent as planning_agent
|
| 12 |
import logging
|
|
|
|
| 13 |
|
| 14 |
# Configure logging
|
| 15 |
logging.basicConfig(level=logging.INFO)
|
|
|
|
| 133 |
report_debug_text(loer)
|
| 134 |
# report graphs
|
| 135 |
report_table(loer)
|
|
|
|
| 136 |
loer.flush()
|
| 137 |
except Exception as e:
|
| 138 |
logger.error(f"Error in main: {str(e)}")
|