Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
-
import torch
|
| 4 |
import time
|
| 5 |
|
| 6 |
from tqdm.auto import tqdm
|
| 7 |
import numpy as np
|
|
|
|
| 8 |
from torch import nn
|
| 9 |
print(torch.__version__)
|
| 10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
|
|
|
| 3 |
import time
|
| 4 |
|
| 5 |
from tqdm.auto import tqdm
|
| 6 |
import numpy as np
|
| 7 |
+
import torch
|
| 8 |
from torch import nn
|
| 9 |
print(torch.__version__)
|
| 10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|