Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,9 @@ def gradio_app():
|
|
| 98 |
# Display the ROM page inside a container with custom styling
|
| 99 |
with gr.Column():
|
| 100 |
output_html = gr.HTML(value="Please select a ROM to play.")
|
| 101 |
-
|
|
|
|
|
|
|
| 102 |
|
| 103 |
app.launch(server_name="0.0.0.0", server_port=7860, share=True)
|
| 104 |
|
|
@@ -112,3 +114,4 @@ gradio_app()
|
|
| 112 |
|
| 113 |
|
| 114 |
|
|
|
|
|
|
| 98 |
# Display the ROM page inside a container with custom styling
|
| 99 |
with gr.Column():
|
| 100 |
output_html = gr.HTML(value="Please select a ROM to play.")
|
| 101 |
+
|
| 102 |
+
# Apply the style using inline HTML
|
| 103 |
+
output_html.value = '<div style="width: 100%; height: 500px; overflow: hidden;">' + output_html.value + '</div>'
|
| 104 |
|
| 105 |
app.launch(server_name="0.0.0.0", server_port=7860, share=True)
|
| 106 |
|
|
|
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
+
|