汐ηŸ₯ commited on
Commit
240d951
β€’
1 Parent(s): 6f6e530
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +3 -4
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ‘
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 4.12.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 3.39.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
app.py CHANGED
@@ -1,15 +1,14 @@
1
  import os
2
  import sys
3
- sys.path.append('.')
4
- os.system("pip install gradio==3.50.2")
5
-
6
  import cv2
7
  import einops
8
  import numpy as np
9
  import torch
10
  import random
11
  import gradio as gr
12
- print(gr.__version__)
13
 
14
  import albumentations as A
15
  from PIL import Image
 
1
  import os
2
  import sys
3
+ #sys.path.append('.')
4
+ #os.system("pip install gradio==3.50.2")
 
5
  import cv2
6
  import einops
7
  import numpy as np
8
  import torch
9
  import random
10
  import gradio as gr
11
+ #print(gr.__version__)
12
 
13
  import albumentations as A
14
  from PIL import Image
requirements.txt CHANGED
@@ -20,4 +20,4 @@ torchmetrics==0.6.0
20
  tqdm==4.65.0
21
  transformers==4.19.2
22
  xformers==0.0.18
23
- gradio==3.44.1
 
20
  tqdm==4.65.0
21
  transformers==4.19.2
22
  xformers==0.0.18
23
+ gradio==3.39.0