nikigoli commited on
Commit
97e45e3
1 Parent(s): 3949572

Removed shell script commands from Python

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -21,6 +21,7 @@ import io
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,9 +36,7 @@ def build_custom_prompter():
35
  script = file.read()
36
  return call(script, shell=True)
37
 
38
- build_custom_prompter()
39
-
40
- from gradio_image_prompter import ImagePrompter
41
  #install_add_dependencies()
42
 
43
  class AppSteps(Enum):
 
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
  script = file.read()
37
  return call(script, shell=True)
38
 
39
+ #build_custom_prompter()
 
 
40
  #install_add_dependencies()
41
 
42
  class AppSteps(Enum):