Kangarroar commited on
Commit
f6ffbcf
1 Parent(s): d8a47b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -24,6 +24,8 @@ from infer import *
24
  import logging
25
  from infer_tools.infer_tool import *
26
  import io
 
 
27
  clip_completed = False
28
  def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title):
29
  logging.getLogger('numba').setLevel(logging.WARNING)
@@ -62,7 +64,6 @@ st.title('DIFF-SVC Render')
62
  ###CKPT LOADER
63
  # Create the temporary directory in the desired location
64
  with tempfile.TemporaryDirectory(dir=os.path.expanduser("~/app")) as temp_dir:
65
- # CKPT LOADER
66
  # File uploader
67
  ckpt = st.file_uploader("Choose your CKPT", type= 'ckpt')
68
 
 
24
  import logging
25
  from infer_tools.infer_tool import *
26
  import io
27
+ import os
28
+
29
  clip_completed = False
30
  def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title):
31
  logging.getLogger('numba').setLevel(logging.WARNING)
 
64
  ###CKPT LOADER
65
  # Create the temporary directory in the desired location
66
  with tempfile.TemporaryDirectory(dir=os.path.expanduser("~/app")) as temp_dir:
 
67
  # File uploader
68
  ckpt = st.file_uploader("Choose your CKPT", type= 'ckpt')
69