apolinario commited on
Commit
ee89b87
1 Parent(s): aa64bf6

random attempt 2

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,11 +33,11 @@ import imageio
33
  from PIL import ImageFile, Image
34
  import time
35
 
 
36
  import hashlib
37
  from PIL.PngImagePlugin import PngImageFile, PngInfo
38
  import json
39
  import urllib.request
40
- import random
41
  from random import randint
42
  from pathvalidate import sanitize_filename
43
  from huggingface_hub import hf_hub_download
@@ -76,6 +76,7 @@ perceptor = (
76
  .to(device)
77
  )
78
  def run(user_input,num_steps, template, width,height):
 
79
  #if uploaded_file is not None:
80
  #uploaded_folder = f"{DefaultPaths.root_path}/uploaded"
81
  #if not path_exists(uploaded_folder):
 
33
  from PIL import ImageFile, Image
34
  import time
35
 
36
+
37
  import hashlib
38
  from PIL.PngImagePlugin import PngImageFile, PngInfo
39
  import json
40
  import urllib.request
 
41
  from random import randint
42
  from pathvalidate import sanitize_filename
43
  from huggingface_hub import hf_hub_download
 
76
  .to(device)
77
  )
78
  def run(user_input,num_steps, template, width,height):
79
+ import random
80
  #if uploaded_file is not None:
81
  #uploaded_folder = f"{DefaultPaths.root_path}/uploaded"
82
  #if not path_exists(uploaded_folder):