lime-j commited on
Commit
e6d37a9
·
1 Parent(s): 40e907d
Files changed (1) hide show
  1. app.py +23 -1
app.py CHANGED
@@ -24,7 +24,28 @@ method_dict = {
24
  'IMGS_quadprior' : 'QuadPrior',
25
  'IMGS_LIME' : 'LIME',
26
  'IMGS_pairlie': 'PairLIE',
27
- 'IMGS_LD' : 'LightenDiffusion'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  }
30
  core_file = './file_list.txt'
@@ -55,6 +76,7 @@ with gr.Blocks() as block_demo:
55
  random.seed(time.time())
56
  image = random.choice(image_list)
57
  method1, method2 = random.sample(methods, 2)
 
58
  image1 = bucket + '/' + method1 + '/' + image
59
  image2 = bucket + '/' + method2 + '/' + image
60
  image_input = bucket + '/images/' + image
 
24
  'IMGS_quadprior' : 'QuadPrior',
25
  'IMGS_LIME' : 'LIME',
26
  'IMGS_pairlie': 'PairLIE',
27
+ 'IMGS_LD' : 'LightenDiffusion',
28
+ 'IMGS_SCI' : 'SCI',
29
+ 'IMGS_pydiff' : 'PyDiff',
30
+ 'IMGS_LLFlow' : 'LLFlow'
31
+
32
+ }
33
+
34
+ method_dict = {
35
+ 'IMGS_Bread': 'png',
36
+ 'IMGS_iat': 'jpg',
37
+ 'retinexformer_png': 'png',
38
+ 'images': 'ori',
39
+ 'IMGS_Kind': 'ori',
40
+ 'IMGS_ZeroDCE': 'ori',
41
+ 'IMGS_nerco': 'png',
42
+ 'IMGS_quadprior' : 'png',
43
+ 'IMGS_LIME' : 'png',
44
+ 'IMGS_pairlie': 'png',
45
+ 'IMGS_LD' : 'jpg',
46
+ 'IMGS_SCI' : 'png',
47
+ 'IMGS_pydiff' : 'png',
48
+ 'IMGS_LLFlow' : 'png'
49
 
50
  }
51
  core_file = './file_list.txt'
 
76
  random.seed(time.time())
77
  image = random.choice(image_list)
78
  method1, method2 = random.sample(methods, 2)
79
+ # method1_suffix, method2_suffix =
80
  image1 = bucket + '/' + method1 + '/' + image
81
  image2 = bucket + '/' + method2 + '/' + image
82
  image_input = bucket + '/images/' + image