Bmccloud22 commited on
Commit
745ed18
·
verified ·
1 Parent(s): f1a38d8

Deploy LaunchLLM - Production AI Training Platform

Browse files
Files changed (2) hide show
  1. financial_advisor_gui.py +1 -2
  2. requirements.txt +13 -21
financial_advisor_gui.py CHANGED
@@ -1791,9 +1791,8 @@ Set it in the Settings tab before generating.""",
1791
  )
1792
 
1793
  hf_max_examples = gr.Number(
1794
- label="Max Examples to Load (optional)",
1795
  value=None,
1796
- placeholder="Leave empty for all",
1797
  info="Limit number of examples (helps with large datasets)"
1798
  )
1799
 
 
1791
  )
1792
 
1793
  hf_max_examples = gr.Number(
1794
+ label="Max Examples to Load (optional - leave empty for all)",
1795
  value=None,
 
1796
  info="Limit number of examples (helps with large datasets)"
1797
  )
1798
 
requirements.txt CHANGED
@@ -1,38 +1,30 @@
1
- # GUI Requirements
2
- # Install with: pip install -r requirements_gui.txt
3
 
4
- # Core training requirements
 
 
 
5
  torch>=2.0.0
6
- transformers>=4.46.0
7
  peft>=0.4.0
8
  accelerate>=0.20.0
9
- bitsandbytes>=0.41.0
10
  datasets>=2.12.0
11
- trl>=0.12.0
12
  sentencepiece>=0.1.99
13
- protobuf>=3.20.0
14
-
15
- # GUI framework
16
- gradio>=4.44.0
17
 
18
- # Security for API key storage
19
  cryptography>=41.0.0
20
 
21
- # Configuration
22
- pyyaml>=6.0
23
- python-dotenv>=1.0.0
24
-
25
  # Utilities
26
  tqdm>=4.65.0
27
  numpy>=1.24.0
 
 
 
28
 
29
- # API integrations for synthetic data generation
30
  openai>=1.0.0
31
  anthropic>=0.8.0
32
 
33
- # Ollama integration
34
- requests>=2.31.0
35
-
36
- # RunPod cloud integration
37
  paramiko>=3.0.0
38
- scp>=0.14.0
 
1
+ # HuggingFace Spaces Requirements
2
+ # Minimal dependencies for fast build
3
 
4
+ # MUST use Gradio 4.44+ for compatibility
5
+ gradio==4.44.1
6
+
7
+ # Core ML libraries (minimal versions for Spaces)
8
  torch>=2.0.0
9
+ transformers>=4.30.0
10
  peft>=0.4.0
11
  accelerate>=0.20.0
 
12
  datasets>=2.12.0
 
13
  sentencepiece>=0.1.99
 
 
 
 
14
 
15
+ # Security
16
  cryptography>=41.0.0
17
 
 
 
 
 
18
  # Utilities
19
  tqdm>=4.65.0
20
  numpy>=1.24.0
21
+ requests>=2.31.0
22
+ pyyaml>=6.0
23
+ python-dotenv>=1.0.0
24
 
25
+ # API integrations for synthetic data
26
  openai>=1.0.0
27
  anthropic>=0.8.0
28
 
29
+ # RunPod integration
 
 
 
30
  paramiko>=3.0.0