Spaces:
Running
on
Zero
Running
on
Zero
xiaoyuxi
commited on
Commit
·
fd76b26
1
Parent(s):
175de2a
fix_readme
Browse files
app.py
CHANGED
|
@@ -983,47 +983,6 @@ with gr.Blocks(
|
|
| 983 |
gr.Markdown(f"**Status:** {status_text}")
|
| 984 |
gr.Markdown(f"<small style='color: #666;'>{status_details}</small>", elem_id="status-details")
|
| 985 |
|
| 986 |
-
# GitHub Star Reminder - Added back!
|
| 987 |
-
gr.HTML("""
|
| 988 |
-
<div style='background: linear-gradient(135deg, #e8eaff 0%, #f0f2ff 100%);
|
| 989 |
-
border-radius: 10px;
|
| 990 |
-
padding: 15px;
|
| 991 |
-
margin: 15px 0;
|
| 992 |
-
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
|
| 993 |
-
border: 1px solid rgba(102, 126, 234, 0.15);'>
|
| 994 |
-
<div style='text-align: center; color: #4a5568;'>
|
| 995 |
-
<h3 style='margin: 0 0 10px 0; font-size: 18px; text-shadow: none; color: #2d3748;'>
|
| 996 |
-
⭐ Love SpatialTracker? Give us a Star! ⭐
|
| 997 |
-
</h3>
|
| 998 |
-
<p style='margin: 0 0 12px 0; font-size: 14px; opacity: 0.8; color: #4a5568;'>
|
| 999 |
-
Help us grow by starring our repository on GitHub! 🚀
|
| 1000 |
-
</p>
|
| 1001 |
-
<div style='display: flex; justify-content: center;'>
|
| 1002 |
-
<a href="https://github.com/henry123-boy/SpaTrackerV2"
|
| 1003 |
-
target="_blank"
|
| 1004 |
-
style='display: inline-flex;
|
| 1005 |
-
align-items: center;
|
| 1006 |
-
gap: 6px;
|
| 1007 |
-
background: rgba(102, 126, 234, 0.1);
|
| 1008 |
-
color: #4a5568;
|
| 1009 |
-
padding: 8px 16px;
|
| 1010 |
-
border-radius: 20px;
|
| 1011 |
-
text-decoration: none;
|
| 1012 |
-
font-weight: bold;
|
| 1013 |
-
font-size: 14px;
|
| 1014 |
-
backdrop-filter: blur(5px);
|
| 1015 |
-
border: 1px solid rgba(102, 126, 234, 0.2);
|
| 1016 |
-
transition: all 0.3s ease;'
|
| 1017 |
-
onmouseover="this.style.background='rgba(102, 126, 234, 0.15)'; this.style.transform='translateY(-1px)'"
|
| 1018 |
-
onmouseout="this.style.background='rgba(102, 126, 234, 0.1)'; this.style.transform='translateY(0)'">
|
| 1019 |
-
<span style='font-size: 16px;'>⭐</span>
|
| 1020 |
-
Star on GitHub
|
| 1021 |
-
</a>
|
| 1022 |
-
</div>
|
| 1023 |
-
</div>
|
| 1024 |
-
</div>
|
| 1025 |
-
""")
|
| 1026 |
-
|
| 1027 |
# Example videos section - moved to top
|
| 1028 |
with gr.Group(elem_classes=["example-videos"]):
|
| 1029 |
gr.Markdown("### 📂 Example Videos")
|
|
@@ -1214,6 +1173,47 @@ with gr.Blocks(
|
|
| 1214 |
inputs=[grid_size, vo_points, fps, original_image_state],
|
| 1215 |
outputs=[viz_html, tracking_result_video, html_download]
|
| 1216 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1217 |
|
| 1218 |
# Acknowledgment section for TAPIR3D - moved to the end
|
| 1219 |
gr.HTML("""
|
|
|
|
| 983 |
gr.Markdown(f"**Status:** {status_text}")
|
| 984 |
gr.Markdown(f"<small style='color: #666;'>{status_details}</small>", elem_id="status-details")
|
| 985 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 986 |
# Example videos section - moved to top
|
| 987 |
with gr.Group(elem_classes=["example-videos"]):
|
| 988 |
gr.Markdown("### 📂 Example Videos")
|
|
|
|
| 1173 |
inputs=[grid_size, vo_points, fps, original_image_state],
|
| 1174 |
outputs=[viz_html, tracking_result_video, html_download]
|
| 1175 |
)
|
| 1176 |
+
|
| 1177 |
+
# GitHub Star Reminder - Added back!
|
| 1178 |
+
gr.HTML("""
|
| 1179 |
+
<div style='background: linear-gradient(135deg, #e8eaff 0%, #f0f2ff 100%);
|
| 1180 |
+
border-radius: 10px;
|
| 1181 |
+
padding: 15px;
|
| 1182 |
+
margin: 15px 0;
|
| 1183 |
+
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
|
| 1184 |
+
border: 1px solid rgba(102, 126, 234, 0.15);'>
|
| 1185 |
+
<div style='text-align: center; color: #4a5568;'>
|
| 1186 |
+
<h3 style='margin: 0 0 10px 0; font-size: 18px; text-shadow: none; color: #2d3748;'>
|
| 1187 |
+
⭐ Love SpatialTracker? Give us a Star! ⭐
|
| 1188 |
+
</h3>
|
| 1189 |
+
<p style='margin: 0 0 12px 0; font-size: 14px; opacity: 0.8; color: #4a5568;'>
|
| 1190 |
+
Help us grow by starring our repository on GitHub! 🚀
|
| 1191 |
+
</p>
|
| 1192 |
+
<div style='display: flex; justify-content: center;'>
|
| 1193 |
+
<a href="https://github.com/henry123-boy/SpaTrackerV2"
|
| 1194 |
+
target="_blank"
|
| 1195 |
+
style='display: inline-flex;
|
| 1196 |
+
align-items: center;
|
| 1197 |
+
gap: 6px;
|
| 1198 |
+
background: rgba(102, 126, 234, 0.1);
|
| 1199 |
+
color: #4a5568;
|
| 1200 |
+
padding: 8px 16px;
|
| 1201 |
+
border-radius: 20px;
|
| 1202 |
+
text-decoration: none;
|
| 1203 |
+
font-weight: bold;
|
| 1204 |
+
font-size: 14px;
|
| 1205 |
+
backdrop-filter: blur(5px);
|
| 1206 |
+
border: 1px solid rgba(102, 126, 234, 0.2);
|
| 1207 |
+
transition: all 0.3s ease;'
|
| 1208 |
+
onmouseover="this.style.background='rgba(102, 126, 234, 0.15)'; this.style.transform='translateY(-1px)'"
|
| 1209 |
+
onmouseout="this.style.background='rgba(102, 126, 234, 0.1)'; this.style.transform='translateY(0)'">
|
| 1210 |
+
<span style='font-size: 16px;'>⭐</span>
|
| 1211 |
+
Star on GitHub
|
| 1212 |
+
</a>
|
| 1213 |
+
</div>
|
| 1214 |
+
</div>
|
| 1215 |
+
</div>
|
| 1216 |
+
""")
|
| 1217 |
|
| 1218 |
# Acknowledgment section for TAPIR3D - moved to the end
|
| 1219 |
gr.HTML("""
|