apolinario commited on
Commit
9d3d627
1 Parent(s): dec3828
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -81,9 +81,11 @@ gc.collect()
81
  torch.cuda.empty_cache()
82
 
83
  def run_all(user_input, width, height, template, num_steps, flavor):
 
 
84
  gc.collect()
85
  torch.cuda.empty_cache()
86
- import random
87
  #if uploaded_file is not None:
88
  #uploaded_folder = f"{DefaultPaths.root_path}/uploaded"
89
  #if not path_exists(uploaded_folder):
 
81
  torch.cuda.empty_cache()
82
 
83
  def run_all(user_input, width, height, template, num_steps, flavor):
84
+ import random
85
+ import torch
86
  gc.collect()
87
  torch.cuda.empty_cache()
88
+
89
  #if uploaded_file is not None:
90
  #uploaded_folder = f"{DefaultPaths.root_path}/uploaded"
91
  #if not path_exists(uploaded_folder):