Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,6 @@ from util.misc import nested_tensor_from_tensor_list
|
|
| 16 |
import datasets.transforms as T
|
| 17 |
import scipy.ndimage as ndimage
|
| 18 |
import matplotlib.pyplot as plt
|
| 19 |
-
from gradio_image_prompter import ImagePrompter
|
| 20 |
# https://github.com/PhyscalX/gradio-image-prompter/tree/main/backend/gradio_image_prompter/templates/component
|
| 21 |
import io
|
| 22 |
from enum import Enum
|
|
@@ -38,6 +37,7 @@ def build_custom_prompter():
|
|
| 38 |
|
| 39 |
build_custom_prompter()
|
| 40 |
|
|
|
|
| 41 |
#install_add_dependencies()
|
| 42 |
|
| 43 |
class AppSteps(Enum):
|
|
|
|
| 16 |
import datasets.transforms as T
|
| 17 |
import scipy.ndimage as ndimage
|
| 18 |
import matplotlib.pyplot as plt
|
|
|
|
| 19 |
# https://github.com/PhyscalX/gradio-image-prompter/tree/main/backend/gradio_image_prompter/templates/component
|
| 20 |
import io
|
| 21 |
from enum import Enum
|
|
|
|
| 37 |
|
| 38 |
build_custom_prompter()
|
| 39 |
|
| 40 |
+
from gradio_image_prompter import ImagePrompter
|
| 41 |
#install_add_dependencies()
|
| 42 |
|
| 43 |
class AppSteps(Enum):
|