Sebastiankay commited on
Commit
4b95f2c
1 Parent(s): 32ecc03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ def process(Prompt, image_width, image_height, image_seed, randomize_seed):
140
  img_exif_comment = read_exif(file_path)
141
  img_dominant_color = image_get_colors(file_path)
142
 
143
- return ({"value": file_path, "__type__": "update"}, {"value": request_url, "visible": True, "__type__": "update"}, used_seed, img_exif_comment, {"visible": True, "__type__": "update"}, {"value": Prompt, "visible": True, "__type__": "update"}, {"value": file_path, "visible": True, "__type__": "update"})
144
 
145
 
146
  with gr.Blocks(theme=theme, css=custom_css) as demo:
 
140
  img_exif_comment = read_exif(file_path)
141
  img_dominant_color = image_get_colors(file_path)
142
 
143
+ return ({"value": file_path, "__type__": "update"}, {"value": request_url, "visible": False, "__type__": "update"}, used_seed, img_exif_comment, {"visible": True, "__type__": "update"}, {"value": Prompt, "visible": True, "__type__": "update"}, {"value": file_path, "visible": True, "__type__": "update"})
144
 
145
 
146
  with gr.Blocks(theme=theme, css=custom_css) as demo: