Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def ui():
|
|
| 56 |
pil_image = PIL.Image.fromarray(image)
|
| 57 |
image = preprocess(pil_image).unsqueeze(0).to(device)
|
| 58 |
|
| 59 |
-
option = st.selectbox('Please select the Model',('PreTrained Model'))
|
| 60 |
|
| 61 |
if option=='PreTrained Model':
|
| 62 |
with torch.no_grad():
|
|
|
|
| 56 |
pil_image = PIL.Image.fromarray(image)
|
| 57 |
image = preprocess(pil_image).unsqueeze(0).to(device)
|
| 58 |
|
| 59 |
+
option = st.selectbox('Please select the Model',('PreTrained Model','Trained Model'))
|
| 60 |
|
| 61 |
if option=='PreTrained Model':
|
| 62 |
with torch.no_grad():
|