FlawedLLM commited on
Commit
7244104
·
verified ·
1 Parent(s): a6f0495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def run_command(cmd, shell=False):
21
  print(f"Error executing command: {e.stderr}")
22
 
23
  # 1. Create the conda environment
24
- run_command("conda create -y --name unsloth_env python=3.10")
25
 
26
  # 2. Activate the environment (Note: Requires shell=True)
27
  run_command("conda activate unsloth_env", shell=True)
 
21
  print(f"Error executing command: {e.stderr}")
22
 
23
  # 1. Create the conda environment
24
+ run_command(["conda", "create", "-y", "--name", "unsloth_env", "python=3.10"])
25
 
26
  # 2. Activate the environment (Note: Requires shell=True)
27
  run_command("conda activate unsloth_env", shell=True)