nsfwalex commited on
Commit
482d3e5
1 Parent(s): 91b2352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -206,7 +206,7 @@ def generate(prompt, progress=gr.Progress(track_tqdm=True)):
206
  ).images
207
 
208
  image_paths = [save_image(img) for img in images]
209
- print(prompt_str, image_paths, [img.url for img in images])
210
  return image_paths
211
 
212
  with gr.Blocks(css=css,head=js,fill_height=True) as demo:
@@ -251,7 +251,6 @@ with gr.Blocks(css=css,head=js,fill_height=True) as demo:
251
  if params.get("e", "0") == "1":
252
  #update the image
253
  #bind events
254
- result.value = [Image.open(default_image)]
255
  return [Image.open(default_image)]
256
  return []
257
 
 
206
  ).images
207
 
208
  image_paths = [save_image(img) for img in images]
209
+ print(prompt_str, image_paths)
210
  return image_paths
211
 
212
  with gr.Blocks(css=css,head=js,fill_height=True) as demo:
 
251
  if params.get("e", "0") == "1":
252
  #update the image
253
  #bind events
 
254
  return [Image.open(default_image)]
255
  return []
256