Spaces:
Sleeping
Sleeping
andreanascetti
commited on
Commit
·
a9a2ab4
1
Parent(s):
15a7e90
first test
Browse files- app.py +1 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -6,6 +6,7 @@ from streamlit_drawable_canvas import st_canvas
|
|
6 |
|
7 |
|
8 |
|
|
|
9 |
def expand2square(imgpath, background_color = (0,0,0)):
|
10 |
pil_img = Image.open(imgpath)
|
11 |
width, height = pil_img.size
|
|
|
6 |
|
7 |
|
8 |
|
9 |
+
|
10 |
def expand2square(imgpath, background_color = (0,0,0)):
|
11 |
pil_img = Image.open(imgpath)
|
12 |
width, height = pil_img.size
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
pandas
|
2 |
numpy
|
3 |
streamlit>=0.88
|
4 |
-
streamlit-drawable-canvas==0.9.0
|
|
|
1 |
pandas
|
2 |
numpy
|
3 |
streamlit>=0.88
|
4 |
+
streamlit-drawable-canvas==0.9.0
|