Portx commited on
Commit
0652073
·
verified ·
1 Parent(s): 5b68599

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +0 -2
handler.py CHANGED
@@ -6,8 +6,6 @@ from subprocess import run
6
  run("pip uninstall unsloth unsloth_zoo -y", shell=True, check=True)
7
  run("pip install unsloth unsloth_zoo --no-cache-dir --upgrade", shell=True, check=True)
8
  #run("pip uninstall unsloth -y && pip install --upgrade --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git", shell=True, check=True)
9
- run("pip install uvicorn fastapi python-multipart", shell=True, check=True)
10
- run("pip install PyMuPDF pypdf", shell=True, check=True)
11
 
12
  import torch
13
  from unsloth.trainer import UnslothVisionDataCollator
 
6
  run("pip uninstall unsloth unsloth_zoo -y", shell=True, check=True)
7
  run("pip install unsloth unsloth_zoo --no-cache-dir --upgrade", shell=True, check=True)
8
  #run("pip uninstall unsloth -y && pip install --upgrade --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git", shell=True, check=True)
 
 
9
 
10
  import torch
11
  from unsloth.trainer import UnslothVisionDataCollator