balthou commited on
Commit
a1ddba3
·
1 Parent(s): 0eb9fd0

vertical layouts suppport with gradio+interactive pipe

Browse files
Files changed (2) hide show
  1. core.py +9 -0
  2. requirements.txt +1 -1
core.py CHANGED
@@ -80,3 +80,12 @@ def tutorial_pipeline():
80
  out_image = compare_by_splitting(out_geometry, out_bnw)
81
  out_profile = extract_profile(out_image)
82
  return [[inp, out_geometry], [out_profile, out_image]]
 
 
 
 
 
 
 
 
 
 
80
  out_image = compare_by_splitting(out_geometry, out_bnw)
81
  out_profile = extract_profile(out_image)
82
  return [[inp, out_geometry], [out_profile, out_image]]
83
+
84
+ # -----------------------------------------------------------------------------------------
85
+ # Other layout you can try! None will create an empty space.
86
+ # return [[inp, out_geometry], [out_profile, out_image], [out_bnw, inp]]
87
+ # return [out_profile, out_image, out_bnw, inp]
88
+ # return out_profile, out_image, out_bnw, inp, None
89
+ # return [[inp, out_geometry], [out_profile, out_image], [out_bnw, None], [None, inp]]
90
+ # return inp
91
+ # return [[out_image], [inp]]
requirements.txt CHANGED
@@ -1 +1 @@
1
- interactive-pipe>=0.7.5
 
1
+ interactive-pipe>=0.7.6