YiftachEde commited on
Commit
6fae77c
·
1 Parent(s): 9356f1d
Files changed (2) hide show
  1. app.py +1 -2
  2. requirements.txt +2 -2
app.py CHANGED
@@ -8,8 +8,7 @@ import spaces
8
  import sys
9
  import torch
10
 
11
- os.system(f"pip install \"git+https://github.com/facebookresearch/pytorch3d.git\"")
12
-
13
  import torch
14
  import torch.nn as nn
15
  import gradio as gr
 
8
  import sys
9
  import torch
10
 
11
+ os.system("pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt221/download.html")
 
12
  import torch
13
  import torch.nn as nn
14
  import gradio as gr
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
- torch --index-url https://download.pytorch.org/whl/cu118
2
- torchvision --index-url https://download.pytorch.org/whl/cu118
3
  gradio>=4.13.0,<5.0.0
4
  diffusers
5
  transformers
 
1
+ torch==2.2.1
2
+ torchvision==0.17.1
3
  gradio>=4.13.0,<5.0.0
4
  diffusers
5
  transformers