BertChristiaens commited on
Commit
3e8c07c
1 Parent(s): 0819ae2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import streamlit as st
 
 
 
2
  from streamlit_drawable_canvas import st_canvas
3
  from PIL import Image
4
  from typing import Union
@@ -13,8 +16,6 @@ from config import HEIGHT, WIDTH, POS_PROMPT, NEG_PROMPT, COLOR_MAPPING, map_col
13
  from palette import COLOR_MAPPING_CATEGORY
14
  from preprocessing import preprocess_seg_mask, get_image, get_mask
15
  from explanation import make_inpainting_explanation, make_regeneration_explanation, make_segmentation_explanation
16
- # wide layout
17
- st.set_page_config(layout="wide")
18
 
19
 
20
  def on_upload() -> None:
 
1
  import streamlit as st
2
+ # wide layout
3
+ st.set_page_config(layout="wide")
4
+
5
  from streamlit_drawable_canvas import st_canvas
6
  from PIL import Image
7
  from typing import Union
 
16
  from palette import COLOR_MAPPING_CATEGORY
17
  from preprocessing import preprocess_seg_mask, get_image, get_mask
18
  from explanation import make_inpainting_explanation, make_regeneration_explanation, make_segmentation_explanation
 
 
19
 
20
 
21
  def on_upload() -> None: