multimodalart HF staff commited on
Commit
c2dfb4a
1 Parent(s): 2a9a65c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -227,6 +227,10 @@ css = '''
227
  width: 100% !important;
228
  margin: 0 auto;
229
  }
 
 
 
 
230
  #login:after {
231
  content: 'Authorize this app before uploading your model';
232
  visibility: visible;
@@ -272,5 +276,6 @@ Get diffusers compatibility, a free GPU-based Inference Widget and possibility t
272
  submit_source_civit.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
273
  try_again_button.click(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
274
  submit_button_civit.click(fn=show_output, inputs=[], outputs=[output]).then(fn=upload_civit_to_hf, inputs=[submit_source_civit], outputs=[output])
 
275
  demo.queue()
276
  demo.launch()
 
227
  width: 100% !important;
228
  margin: 0 auto;
229
  }
230
+ #logout {
231
+ width: 100% !important;
232
+ margin-bottom: 2em;
233
+ }
234
  #login:after {
235
  content: 'Authorize this app before uploading your model';
236
  visibility: visible;
 
276
  submit_source_civit.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
277
  try_again_button.click(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
278
  submit_button_civit.click(fn=show_output, inputs=[], outputs=[output]).then(fn=upload_civit_to_hf, inputs=[submit_source_civit], outputs=[output])
279
+ gr.LogoutButton(elem_id="logout")
280
  demo.queue()
281
  demo.launch()