Commit
·
f6d651a
1
Parent(s):
dbad460
Update app.py
Browse files
app.py
CHANGED
@@ -110,10 +110,8 @@ if uploaded_file is not None:
|
|
110 |
|
111 |
with st.spinner("A IA está fazendo a mágica!"):
|
112 |
output = process_inpaint(np.array(img_input), np.array(im)) #TODO Put button here
|
113 |
-
|
114 |
-
|
115 |
-
if img_input.mode != "RGBA":
|
116 |
-
img_input = img_input.convert("RGBA")
|
117 |
|
118 |
|
119 |
st.write("AI terminou o trabalho!")
|
|
|
110 |
|
111 |
with st.spinner("A IA está fazendo a mágica!"):
|
112 |
output = process_inpaint(np.array(img_input), np.array(im)) #TODO Put button here
|
113 |
+
img_output = Image.fromarray(output).convert("RGB")
|
114 |
+
|
|
|
|
|
115 |
|
116 |
|
117 |
st.write("AI terminou o trabalho!")
|