bhuvaneshprasad
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ def main():
|
|
21 |
prediction = predictor.predict()
|
22 |
finally:
|
23 |
os.remove("temp_image.png")
|
24 |
-
st.title(type(prediction))
|
25 |
if type(prediction) == str:
|
26 |
st.json({'prediction' : prediction})
|
27 |
image = Image.open(uploaded_file)
|
|
|
21 |
prediction = predictor.predict()
|
22 |
finally:
|
23 |
os.remove("temp_image.png")
|
|
|
24 |
if type(prediction) == str:
|
25 |
st.json({'prediction' : prediction})
|
26 |
image = Image.open(uploaded_file)
|