Spaces:
Sleeping
Sleeping
S.Sai Yashasvini
commited on
update app.py
Browse files
app.py
CHANGED
|
@@ -42,5 +42,5 @@ def main():
|
|
| 42 |
imagenet_id, label, score = prediction[0]
|
| 43 |
st.write(f"- *{label}* (Confidence: {score:2%})")
|
| 44 |
|
| 45 |
-
if
|
| 46 |
main()
|
|
|
|
| 42 |
imagenet_id, label, score = prediction[0]
|
| 43 |
st.write(f"- *{label}* (Confidence: {score:2%})")
|
| 44 |
|
| 45 |
+
if __name__ == '__main__':
|
| 46 |
main()
|