Spaces:
Runtime error
Runtime error
Commit
·
e951dfc
1
Parent(s):
5ab183f
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,20 +74,7 @@ st.title("Inpainting App")
|
|
| 74 |
st.markdown("This app allows you to inpaint images using a pre-trained model.")
|
| 75 |
|
| 76 |
@st.cache(allow_output_mutation=True)
|
| 77 |
-
def load_model(BERT):
|
| 78 |
-
|
| 79 |
-
# Load the model here...
|
| 80 |
-
|
| 81 |
-
return model
|
| 82 |
-
|
| 83 |
-
def inpaint(image, BERT):
|
| 84 |
-
|
| 85 |
-
# Inpaint the image here...
|
| 86 |
-
return inpainted_image
|
| 87 |
-
|
| 88 |
|
| 89 |
-
st.set_option('deprecation.showfileUploaderEncoding', False)
|
| 90 |
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
# Inpaint!
|
|
|
|
| 74 |
st.markdown("This app allows you to inpaint images using a pre-trained model.")
|
| 75 |
|
| 76 |
@st.cache(allow_output_mutation=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
|
|
|
| 78 |
|
| 79 |
+
|
| 80 |
+
|
|
|