Skip to content

Commit

Permalink
remove unnecessary Row
Browse files Browse the repository at this point in the history
  • Loading branch information
w-e-w committed Dec 27, 2024
1 parent 82d4126 commit 2e1e35a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/ui_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,8 @@ def create_ui(self, loadsave, dummy_component):
loadsave.create_ui()

with gr.TabItem("Sysinfo", id="sysinfo", elem_id="settings_tab_sysinfo"):
with gr.Row():
download_sysinfo = gr.Button(value='Download system info', elem_id="internal-download-sysinfo", visible=False)
open_sysinfo = gr.Button(value='Open as text in a new page', elem_id="internal-open-sysinfo", visible=False)
download_sysinfo = gr.Button(value='Download system info', elem_id="internal-download-sysinfo", visible=False)
open_sysinfo = gr.Button(value='Open as text in a new page', elem_id="internal-open-sysinfo", visible=False)
sysinfo_textbox = gr.Textbox('', elem_id='internal-sysinfo-textbox', interactive=False, visible=False)
sysinfo_html = gr.HTML('''<a class="sysinfo_big_link" onclick="gradioApp().getElementById('internal-download-sysinfo').click();">Download system info</a><br/><a onclick="gradioApp().getElementById('internal-open-sysinfo').click();">(or open as text in a new page)</a>''', elem_id="sysinfo_download")

Expand Down

0 comments on commit 2e1e35a

Please sign in to comment.