JarvisLabs commited on
Commit
cb6bc8d
1 Parent(s): aa5dbf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -35,7 +35,7 @@ model_dic["Anime_niji"]={
35
 
36
 
37
 
38
- #gallery=[] #Gallery array to hold image outputs
39
  def gradio_gen_process(img,prompt,ps=0.6,style_model="ISS MAP",ls=0.6,jp=None,recipient_email=None,model=base_model,model_trigger=None,save_loc=save_loc):
40
  #JP Detect
41
  if jp:
@@ -70,7 +70,7 @@ def gradio_gen_process(img,prompt,ps=0.6,style_model="ISS MAP",ls=0.6,jp=None,re
70
 
71
 
72
 
73
- return img #,gallery
74
 
75
 
76
 
@@ -87,8 +87,8 @@ gradio_interface=gr.Interface(
87
  gr.Textbox(label="Email",placeholder="")
88
  ],
89
  outputs=[
90
- gr.Image(label="gened image",type="pil"),
91
- # gr.Gallery()
92
  ],
93
  examples="Tiles/"
94
  )
 
35
 
36
 
37
 
38
+ gallery=[] #Gallery array to hold image outputs
39
  def gradio_gen_process(img,prompt,ps=0.6,style_model="ISS MAP",ls=0.6,jp=None,recipient_email=None,model=base_model,model_trigger=None,save_loc=save_loc):
40
  #JP Detect
41
  if jp:
 
70
 
71
 
72
 
73
+ return gallery #img
74
 
75
 
76
 
 
87
  gr.Textbox(label="Email",placeholder="")
88
  ],
89
  outputs=[
90
+ #gr.Image(label="gened image",type="pil"),
91
+ gr.Gallery(label="gened image",type="pil")
92
  ],
93
  examples="Tiles/"
94
  )