Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ if uploaded_file is not None and process_button:
|
|
111 |
# Process the tensor through the model
|
112 |
with st.spinner('Processing the tensor through the model...'):
|
113 |
with torch.no_grad():
|
114 |
-
output = model
|
115 |
if isinstance(output, tuple):
|
116 |
output = output[0]
|
117 |
output = output.squeeze(0)
|
|
|
111 |
# Process the tensor through the model
|
112 |
with st.spinner('Processing the tensor through the model...'):
|
113 |
with torch.no_grad():
|
114 |
+
output = model(tensor)
|
115 |
if isinstance(output, tuple):
|
116 |
output = output[0]
|
117 |
output = output.squeeze(0)
|