ksort commited on
Commit
1fe8637
1 Parent(s): fcde28d

update requirements.txt

Browse files
model/models/openai_api_models.py CHANGED
@@ -25,6 +25,9 @@ def load_openai_model(model_name):
25
 
26
  image_url = response.data[0].url
27
 
 
 
28
 
29
  if __name__ == "__main__":
30
- load_openai_model('Dalle-2')
 
 
25
 
26
  image_url = response.data[0].url
27
 
28
+ return image_url
29
+
30
 
31
  if __name__ == "__main__":
32
+ image_url = load_openai_model('Dalle-3')
33
+ print(image_url)
requirements.txt CHANGED
@@ -8,7 +8,7 @@ h5py
8
  numpy>=1.23.5
9
  pandas<2.0.0
10
  peft
11
- torch==2.0.1
12
  torchvision==0.15.2
13
  torchaudio==2.0.2
14
  jupyterlab>=4.0.2
 
8
  numpy>=1.23.5
9
  pandas<2.0.0
10
  peft
11
+ torch==2.2.0
12
  torchvision==0.15.2
13
  torchaudio==2.0.2
14
  jupyterlab>=4.0.2