kargaranamir commited on
Commit
91306ff
1 Parent(s): fb86880

rename output

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def inference(img):
12
  clutter_scalar_fc, clutter_map_fc = clt.getClutter_FC(p=1, pix=1)
13
  # get Subband Entropy clutter of the test map:
14
  # clutter_scalar_se = clt.getClutter_SE(wlevels=3, wght_chrom=0.0625)
15
- return ['test_collapsed combine map.png']
16
 
17
  title = 'Visual Clutter'
18
  description = 'Compute two measures of visual clutter (Feature Congestion and Subband Entropy)'
@@ -30,4 +30,4 @@ gr.Interface(
30
  examples=examples,
31
  css=css,
32
  enable_queue=True
33
- ).launch(debug=True)
 
12
  clutter_scalar_fc, clutter_map_fc = clt.getClutter_FC(p=1, pix=1)
13
  # get Subband Entropy clutter of the test map:
14
  # clutter_scalar_se = clt.getClutter_SE(wlevels=3, wght_chrom=0.0625)
15
+ return ['./test_collapsed_combine_map.png']
16
 
17
  title = 'Visual Clutter'
18
  description = 'Compute two measures of visual clutter (Feature Congestion and Subband Entropy)'
 
30
  examples=examples,
31
  css=css,
32
  enable_queue=True
33
+ ).launch(debug=True, share=True)
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  opencv-python-headless
2
  torch
3
  gradio
4
- visual-clutter~=1.0.5
 
1
  opencv-python-headless
2
  torch
3
  gradio
4
+ visual-clutter~=1.0.6