Spaces:
Runtime error
Runtime error
add a button to apply tags
Browse files
app.py
CHANGED
|
@@ -40,6 +40,7 @@ st.title('Upload an image file to detection')
|
|
| 40 |
uploaded_image_zero_file = st.file_uploader("Choose an image file (zero)")
|
| 41 |
texts = st.text_input('tags')
|
| 42 |
image = None
|
|
|
|
| 43 |
if uploaded_image_zero_file is not None:
|
| 44 |
image = Image.open(uploaded_image_zero_file)
|
| 45 |
outputImage = np.array(image)
|
|
|
|
| 40 |
uploaded_image_zero_file = st.file_uploader("Choose an image file (zero)")
|
| 41 |
texts = st.text_input('tags')
|
| 42 |
image = None
|
| 43 |
+
outputImage = None
|
| 44 |
if uploaded_image_zero_file is not None:
|
| 45 |
image = Image.open(uploaded_image_zero_file)
|
| 46 |
outputImage = np.array(image)
|