Spaces:
Runtime error
Runtime error
BertChristiaens
commited on
Commit
•
31670dd
1
Parent(s):
8efc3b8
add images
Browse files- .gitattributes +3 -0
- .gitignore +20 -1
- app.py +5 -3
- content/after_editing.png +3 -0
- content/after_editing_generated.png +3 -0
- content/before_editing_generated.png +3 -0
.gitattributes
CHANGED
@@ -36,3 +36,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
36 |
content/cat-sofa.png filter=lfs diff=lfs merge=lfs -text
|
37 |
content/dog.png filter=lfs diff=lfs merge=lfs -text
|
38 |
content/teaser-website.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
36 |
content/cat-sofa.png filter=lfs diff=lfs merge=lfs -text
|
37 |
content/dog.png filter=lfs diff=lfs merge=lfs -text
|
38 |
content/teaser-website.png filter=lfs diff=lfs merge=lfs -text
|
39 |
+
content/after_editing.png filter=lfs diff=lfs merge=lfs -text
|
40 |
+
content/after_editing_generated.png filter=lfs diff=lfs merge=lfs -text
|
41 |
+
content/before_editing_generated.png filter=lfs diff=lfs merge=lfs -text
|
.gitignore
CHANGED
@@ -1,2 +1,21 @@
|
|
1 |
venv/
|
2 |
-
venv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
venv/
|
2 |
+
venv
|
3 |
+
.DS_Store
|
4 |
+
|
5 |
+
# Byte-compiled / optimized / DLL files
|
6 |
+
__pycache__/
|
7 |
+
*.py[cod]
|
8 |
+
*$py.class
|
9 |
+
|
10 |
+
# C extensions
|
11 |
+
*.so
|
12 |
+
|
13 |
+
# Distribution / packaging
|
14 |
+
.Python
|
15 |
+
env/
|
16 |
+
build/
|
17 |
+
dist/
|
18 |
+
eggs/
|
19 |
+
*.egg-info/
|
20 |
+
.installed.cfg
|
21 |
+
*.egg
|
app.py
CHANGED
@@ -29,7 +29,7 @@ def create_edit_existing_image_tab():
|
|
29 |
st.button("Generate", key="button_generate_edit_existing_image")
|
30 |
|
31 |
st.write("## Result")
|
32 |
-
st.image('content/
|
33 |
|
34 |
|
35 |
def create_edit_generated_image_tab():
|
@@ -50,9 +50,11 @@ def create_edit_generated_image_tab():
|
|
50 |
st.write("## Result")
|
51 |
cols_result = st.columns(2)
|
52 |
with cols_result[0]:
|
53 |
-
st.image
|
|
|
54 |
with cols_result[1]:
|
55 |
-
st.image
|
|
|
56 |
|
57 |
def create_zero_shot_generation_tab():
|
58 |
st.write("# Zero-shot generation")
|
|
|
29 |
st.button("Generate", key="button_generate_edit_existing_image")
|
30 |
|
31 |
st.write("## Result")
|
32 |
+
st.image('content/after_editing.png')
|
33 |
|
34 |
|
35 |
def create_edit_generated_image_tab():
|
|
|
50 |
st.write("## Result")
|
51 |
cols_result = st.columns(2)
|
52 |
with cols_result[0]:
|
53 |
+
st.write("### Generated image before editing")
|
54 |
+
st.image('content/before_editing_generated.png')
|
55 |
with cols_result[1]:
|
56 |
+
st.write("### Generated image after editing")
|
57 |
+
st.image('content/after_editing_generated.png')
|
58 |
|
59 |
def create_zero_shot_generation_tab():
|
60 |
st.write("# Zero-shot generation")
|
content/after_editing.png
ADDED
Git LFS Details
|
content/after_editing_generated.png
ADDED
Git LFS Details
|
content/before_editing_generated.png
ADDED
Git LFS Details
|