hlydecker commited on
Commit
ab27647
1 Parent(s): c9b2092

bugfix: typing is hard

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -142,7 +142,7 @@ css = """
142
  #prompt-container{
143
  gap: 0;
144
  }
145
- #prompt-text-input, #negative-prompt-text-input{padding: .45rem 0.625rem}
146
  #component-16{border-top-width: 1px!important;margin-top: 1em}
147
  .image_duplication{position: absolute; width: 100px; left: 50px}
148
  """
@@ -293,8 +293,8 @@ with block:
293
 
294
  ex = gr.Examples(examples=examples, fn=infer, inputs=[person1, person2], outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
295
  ex.dataset.headers = [""]
296
- negative.submit(infer, inputs=[person1, person2], outputs=[gallery], postprocess=False)
297
- text.submit(infer, inputs=[person1, person2], outputs=[gallery], postprocess=False)
298
  btn.click(infer, inputs=[person1, person2], outputs=[gallery], postprocess=False)
299
 
300
  #advanced_button.click(
 
142
  #prompt-container{
143
  gap: 0;
144
  }
145
+ #person1-text-input, #person2-text-input{padding: .45rem 0.625rem}
146
  #component-16{border-top-width: 1px!important;margin-top: 1em}
147
  .image_duplication{position: absolute; width: 100px; left: 50px}
148
  """
 
293
 
294
  ex = gr.Examples(examples=examples, fn=infer, inputs=[person1, person2], outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
295
  ex.dataset.headers = [""]
296
+ person2.submit(infer, inputs=[person1, person2], outputs=[gallery], postprocess=False)
297
+ person1.submit(infer, inputs=[person1, person2], outputs=[gallery], postprocess=False)
298
  btn.click(infer, inputs=[person1, person2], outputs=[gallery], postprocess=False)
299
 
300
  #advanced_button.click(