Ahsen Khaliq commited on
Commit
dd1b051
1 Parent(s): 9333eba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,8 @@ import torch.nn.functional as F
3
  import numpy as np
4
  from PIL import Image
5
  import os
 
 
6
  import network
7
  import morphology
8
  import math
@@ -13,7 +15,6 @@ from stat import ST_CTIME
13
  from datetime import datetime, timedelta
14
  import shutil
15
 
16
- os.system('pip install gradio --upgrade')
17
  # Images
18
  torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2021/08/04/14/16/tower-6521842_1280.jpg', 'tower.jpg')
19
  torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2017/08/31/05/36/buildings-2699520_1280.jpg', 'city.jpg')
 
3
  import numpy as np
4
  from PIL import Image
5
  import os
6
+ os.system('pip install gradio --upgrade')
7
+ os.system('pip freeze')
8
  import network
9
  import morphology
10
  import math
 
15
  from datetime import datetime, timedelta
16
  import shutil
17
 
 
18
  # Images
19
  torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2021/08/04/14/16/tower-6521842_1280.jpg', 'tower.jpg')
20
  torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2017/08/31/05/36/buildings-2699520_1280.jpg', 'city.jpg')