sudo-soldier commited on
Commit
cff5e12
·
verified ·
1 Parent(s): c653c69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -98,8 +98,8 @@ def gradio_app():
98
  # When a ROM is selected from the dropdown, update the HTML display with the ROM content
99
  rom_buttons.change(fn=generate_rom_page, inputs=rom_buttons, outputs=output_html)
100
 
101
- # Apply the style directly to the HTML output using inline CSS in the content
102
- output_html.update(value=output_html.value, elem_id="rom-html", elem_classes="custom-rom-style")
103
 
104
  app.launch(server_name="0.0.0.0", server_port=7860, share=True)
105
 
@@ -121,3 +121,4 @@ gradio_app()
121
 
122
 
123
 
 
 
98
  # When a ROM is selected from the dropdown, update the HTML display with the ROM content
99
  rom_buttons.change(fn=generate_rom_page, inputs=rom_buttons, outputs=output_html)
100
 
101
+ # Apply the content directly to the HTML
102
+ output_html.value = output_html.value
103
 
104
  app.launch(server_name="0.0.0.0", server_port=7860, share=True)
105
 
 
121
 
122
 
123
 
124
+