spandana30 commited on
Commit
1d65f2d
·
verified ·
1 Parent(s): 3d380cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # Multi-agent UI generator with lazy model loading to reduce memory usage
2
 
3
  import streamlit as st
4
  import time
@@ -16,23 +16,23 @@ HF_TOKEN = os.getenv("HF_TOKEN")
16
 
17
  AGENT_MODEL_CONFIG = {
18
  "product_manager": {
19
- "base": "google/gemma-1.1-7b-it",
20
- "adapter": "spandana30/project-manager-gemma"
21
  },
22
  "project_manager": {
23
- "base": "google/gemma-1.1-7b-it",
24
  "adapter": "spandana30/project-manager-gemma"
25
  },
26
  "software_architect": {
27
- "base": "cohere/command-r",
28
  "adapter": "spandana30/software-architect-cohere"
29
  },
30
  "software_engineer": {
31
- "base": "codellama/CodeLLaMA-7b-Instruct-hf",
32
  "adapter": "spandana30/software-engineer-codellama"
33
  },
34
  "qa": {
35
- "base": "codellama/CodeLLaMA-7b-Instruct-hf",
36
  "adapter": "spandana30/software-engineer-codellama"
37
  },
38
  }
@@ -180,4 +180,4 @@ def main():
180
  st.write(f"🧩 {stage.replace('_', ' ').title()} Time: {final_state['timings'].get(stage, 0):.2f}s")
181
 
182
  if __name__ == "__main__":
183
- main()
 
1
+ # Multi-agent UI generator with correct base models for each agent
2
 
3
  import streamlit as st
4
  import time
 
16
 
17
  AGENT_MODEL_CONFIG = {
18
  "product_manager": {
19
+ "base": "unsloth/mistral-7b-bnb-4bit",
20
+ "adapter": "spandana30/product-manager-mistral"
21
  },
22
  "project_manager": {
23
+ "base": "unsloth/gemma-3-1b-it",
24
  "adapter": "spandana30/project-manager-gemma"
25
  },
26
  "software_architect": {
27
+ "base": "unsloth/c4ai-command-r-08-2024-bnb-4bit",
28
  "adapter": "spandana30/software-architect-cohere"
29
  },
30
  "software_engineer": {
31
+ "base": "codellama/CodeLLaMA-7b-hf",
32
  "adapter": "spandana30/software-engineer-codellama"
33
  },
34
  "qa": {
35
+ "base": "codellama/CodeLLaMA-7b-hf",
36
  "adapter": "spandana30/software-engineer-codellama"
37
  },
38
  }
 
180
  st.write(f"🧩 {stage.replace('_', ' ').title()} Time: {final_state['timings'].get(stage, 0):.2f}s")
181
 
182
  if __name__ == "__main__":
183
+ main()