acecalisto3 commited on
Commit
05f8a1e
·
verified ·
1 Parent(s): a5e0122

Update definitions.py

Browse files
Files changed (1) hide show
  1. 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 application
 
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