add help tab with links to dcord and github

pull/15/head
unknown 2023-06-14 23:21:23 -05:00
parent 34fe2c5078
commit 696ff54d04
No known key found for this signature in database
GPG Key ID: CA376082283AF69A
1 changed files with 9 additions and 1 deletions

View File

@ -116,7 +116,15 @@ class UI:
" equal share of the total request. Longer than 2 seconds is recommended."
)
save_btn = gradio.Button(value='Save')
save_btn = gradio.Button(value='Update')
save_btn.click(fn=self.save_btn, inputs=[thin_client_cbx, job_timeout])
with gradio.Tab('Help'):
gradio.Markdown(
"""
- [Discord Server 🤝](https://discord.gg/Jpc8wnftd4)
- [Github Repository </>](https://github.com/papuSpartan/stable-diffusion-webui-distributed)
"""
)
return root