multimodalart HF staff commited on
Commit
25949c4
1 Parent(s): 1741a1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -151,7 +151,7 @@ css = """
151
  #prompt-container{
152
  gap: 0;
153
  }
154
- #share-btn-container div:first-child, #share-btn-container div:nth-child(2){
155
  width: auto !important;
156
  min-height: 0px !important;
157
  }
@@ -266,7 +266,7 @@ with block:
266
  randomize=True,
267
  )
268
 
269
- ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=True, cache_examples=True, postprocess=False)
270
  ex.dataset.headers = [""]
271
 
272
  text.submit(infer, inputs=text, outputs=[gallery], postprocess=False)
 
151
  #prompt-container{
152
  gap: 0;
153
  }
154
+ #share-btn-container div:nth-child(-n+2){
155
  width: auto !important;
156
  min-height: 0px !important;
157
  }
 
266
  randomize=True,
267
  )
268
 
269
+ ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=True, postprocess=False)
270
  ex.dataset.headers = [""]
271
 
272
  text.submit(infer, inputs=text, outputs=[gallery], postprocess=False)