Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -358,7 +358,10 @@ def pil_parser(video_file):
|
|
358 |
X.append(image)
|
359 |
X = torch.stack(X, dim=1).unsqueeze(0)
|
360 |
|
361 |
-
|
|
|
|
|
|
|
362 |
|
363 |
example_list=[
|
364 |
["2350.mp4"],
|
|
|
358 |
X.append(image)
|
359 |
X = torch.stack(X, dim=1).unsqueeze(0)
|
360 |
|
361 |
+
out = model(X)
|
362 |
+
|
363 |
+
#return 'shape is : '+ str(X.shape)
|
364 |
+
return 'viscosity : ' + str(round(out.item(),1)) + ' cp'
|
365 |
|
366 |
example_list=[
|
367 |
["2350.mp4"],
|