Spaces:
Running
on
Zero
Running
on
Zero
v2
Browse files- app.py +3 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -165,7 +165,7 @@ def run_demo_server():
|
|
| 165 |
)
|
| 166 |
with gr.Row():
|
| 167 |
video_submit_btn = gr.Button(
|
| 168 |
-
value="
|
| 169 |
)
|
| 170 |
video_reset_btn = gr.Button(value="Reset")
|
| 171 |
with gr.Column():
|
|
@@ -232,6 +232,8 @@ def run_demo_server():
|
|
| 232 |
|
| 233 |
def main():
|
| 234 |
os.system("pip freeze")
|
|
|
|
|
|
|
| 235 |
run_demo_server()
|
| 236 |
|
| 237 |
if __name__ == "__main__":
|
|
|
|
| 165 |
)
|
| 166 |
with gr.Row():
|
| 167 |
video_submit_btn = gr.Button(
|
| 168 |
+
value="Predict Depth!", variant="primary"
|
| 169 |
)
|
| 170 |
video_reset_btn = gr.Button(value="Reset")
|
| 171 |
with gr.Column():
|
|
|
|
| 232 |
|
| 233 |
def main():
|
| 234 |
os.system("pip freeze")
|
| 235 |
+
if os.path.exists("files/output"):
|
| 236 |
+
os.system("rm -rf files/output")
|
| 237 |
run_demo_server()
|
| 238 |
|
| 239 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
torch==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|
| 2 |
torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cu121
|
| 3 |
torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|
|
|
|
| 1 |
+
numpy==1.26.4
|
| 2 |
torch==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|
| 3 |
torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cu121
|
| 4 |
torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|