Spaces:
Sleeping
Sleeping
Update definitions.py
Browse files- definitions.py +5 -1
definitions.py
CHANGED
@@ -28,6 +28,10 @@ from pathlib import Path
|
|
28 |
# Set logging level from environment variable
|
29 |
logging.basicConfig(level=os.getenv('LOG_LEVEL', 'INFO'))
|
30 |
|
|
|
|
|
|
|
|
|
31 |
class CodeMetricsAnalyzer:
|
32 |
"""Analyzes code metrics using various tools"""
|
33 |
|
@@ -1020,4 +1024,4 @@ class StreamlitInterface:
|
|
1020 |
|
1021 |
if __name__ == "__main__":
|
1022 |
app = AutonomousAgentApp() # Create an instance of the app
|
1023 |
-
app.interface.render_main_interface() # Call the render method to start the
|
|
|
28 |
# Set logging level from environment variable
|
29 |
logging.basicConfig(level=os.getenv('LOG_LEVEL', 'INFO'))
|
30 |
|
31 |
+
def main():
|
32 |
+
autonomous_agent_app = AutonomousAgentApp()
|
33 |
+
app.run()
|
34 |
+
|
35 |
class CodeMetricsAnalyzer:
|
36 |
"""Analyzes code metrics using various tools"""
|
37 |
|
|
|
1024 |
|
1025 |
if __name__ == "__main__":
|
1026 |
app = AutonomousAgentApp() # Create an instance of the app
|
1027 |
+
app.interface.render_main_interface() # Call the render method to start the applicationw
|