Spaces:
Runtime error
Runtime error
Ayushnangia
commited on
Commit
·
7793ce6
1
Parent(s):
c71a564
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import time
|
|
3 |
import numpy as np
|
4 |
import onnx
|
5 |
import onnxruntime
|
|
|
|
|
6 |
|
7 |
# Ref: https://github.com/liruoteng/OpticalFlowToolkit/blob/5cf87b947a0032f58c922bbc22c0afb30b90c418/lib/flowlib.py#L249
|
8 |
|
|
|
3 |
import numpy as np
|
4 |
import onnx
|
5 |
import onnxruntime
|
6 |
+
import os
|
7 |
+
os.system('pip install --upgrade --force-reinstall onnxruntime')
|
8 |
|
9 |
# Ref: https://github.com/liruoteng/OpticalFlowToolkit/blob/5cf87b947a0032f58c922bbc22c0afb30b90c418/lib/flowlib.py#L249
|
10 |
|