ysharma HF staff commited on
Commit
8a2ccc0
·
1 Parent(s): e140357

update seeed

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -14,6 +14,7 @@ pipe.enable_attention_slicing()
14
 
15
  seed = random.randint(0, 1000000)
16
  counter = 0
 
17
 
18
  def chat(image_in, message, history): #, progress=gr.Progress(track_tqdm=True)):
19
  #progress(0, desc="Starting...")
@@ -21,6 +22,8 @@ def chat(image_in, message, history): #, progress=gr.Progress(track_tqdm=True)):
21
  global seed
22
  img_nm = f"./edited_image_{seed}.png"
23
  counter += 1
 
 
24
 
25
  #if message == "revert": --to add revert functionality later
26
  if counter > 1:
 
14
 
15
  seed = random.randint(0, 1000000)
16
  counter = 0
17
+ print(f"SEED IS : {seed}")
18
 
19
  def chat(image_in, message, history): #, progress=gr.Progress(track_tqdm=True)):
20
  #progress(0, desc="Starting...")
 
22
  global seed
23
  img_nm = f"./edited_image_{seed}.png"
24
  counter += 1
25
+ print(f"seed is : {seed}")
26
+ print(f"image_in name is :{img_nm}")
27
 
28
  #if message == "revert": --to add revert functionality later
29
  if counter > 1: