Spaces:
Sleeping
Sleeping
fahmiaziz98
commited on
Commit
·
c982ca5
1
Parent(s):
fc81503
last commit
Browse files
app.py
CHANGED
@@ -88,8 +88,8 @@ if model_choice == "VIT Pose Classification":
|
|
88 |
st.error("❌ Model not found. Please download the model first.")
|
89 |
pipe = None
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
88 |
st.error("❌ Model not found. Please download the model first.")
|
89 |
pipe = None
|
90 |
|
91 |
+
if predict and pipe:
|
92 |
+
with st.spinner("Predicting..."):
|
93 |
+
output = pipe(image)
|
94 |
+
st.write("### Prediction Results:")
|
95 |
+
st.json(output)
|