Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ import io
|
|
21 |
from enum import Enum
|
22 |
import os
|
23 |
from subprocess import call
|
24 |
-
from gradio_image_prompter import ImagePrompter
|
25 |
os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
|
26 |
|
27 |
@spaces.GPU
|
@@ -36,7 +35,8 @@ def build_custom_prompter():
|
|
36 |
script = file.read()
|
37 |
return call(script, shell=True)
|
38 |
|
39 |
-
|
|
|
40 |
#install_add_dependencies()
|
41 |
|
42 |
class AppSteps(Enum):
|
|
|
21 |
from enum import Enum
|
22 |
import os
|
23 |
from subprocess import call
|
|
|
24 |
os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
|
25 |
|
26 |
@spaces.GPU
|
|
|
35 |
script = file.read()
|
36 |
return call(script, shell=True)
|
37 |
|
38 |
+
build_custom_prompter()
|
39 |
+
from gradio_image_prompter import ImagePrompter
|
40 |
#install_add_dependencies()
|
41 |
|
42 |
class AppSteps(Enum):
|