Spaces:
Sleeping
Sleeping
Update my_model/utilities/gen_utilities.py
Browse files
my_model/utilities/gen_utilities.py
CHANGED
@@ -8,6 +8,7 @@ from IPython import get_ipython
|
|
8 |
import sys
|
9 |
import gc
|
10 |
import streamlit as st
|
|
|
11 |
|
12 |
|
13 |
def show_image(image: Union[str, Image.Image, np.ndarray, torch.Tensor]) -> None:
|
|
|
8 |
import sys
|
9 |
import gc
|
10 |
import streamlit as st
|
11 |
+
from typing import Tuple, Dict, List, Union
|
12 |
|
13 |
|
14 |
def show_image(image: Union[str, Image.Image, np.ndarray, torch.Tensor]) -> None:
|