Spaces:
Sleeping
Sleeping
Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -5,7 +5,7 @@ import accelerate
|
|
5 |
import scipy
|
6 |
import copy
|
7 |
import time
|
8 |
-
from typing import Tuple, Dict, List
|
9 |
from streamlit.delta_generator import DeltaGenerator
|
10 |
from PIL import Image
|
11 |
import torch.nn as nn
|
|
|
5 |
import scipy
|
6 |
import copy
|
7 |
import time
|
8 |
+
from typing import Tuple, Dict, List, Union
|
9 |
from streamlit.delta_generator import DeltaGenerator
|
10 |
from PIL import Image
|
11 |
import torch.nn as nn
|