animrods commited on
Commit
ac3813d
1 Parent(s): 527b2cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -52,6 +52,9 @@ def predict(prompt, files, ip_adapter_scale=0.5, negative_prompt="", seed=100, r
52
 
53
  return image, seed
54
 
 
 
 
55
  examples = [
56
  ["high quality", "example1.png", 1.0, "", 1000, False, False, 1152, 896],
57
  ["capybara", "example2.png", 0.7, "", 1000, False, False, 1152, 896],
 
52
 
53
  return image, seed
54
 
55
+ def swap_to_gallery(images):
56
+ return gr.update(value=images, visible=True), gr.update(visible=True), gr.update(visible=False)
57
+
58
  examples = [
59
  ["high quality", "example1.png", 1.0, "", 1000, False, False, 1152, 896],
60
  ["capybara", "example2.png", 0.7, "", 1000, False, False, 1152, 896],