nikunjcepatel commited on
Commit
520b6ca
·
verified ·
1 Parent(s): 183ac7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -19
app.py CHANGED
@@ -87,22 +87,5 @@ iface = gr.Interface(
87
  title="Chat with OpenRouter Models"
88
  )
89
 
90
- # Insert custom CSS for scrollable sections
91
- iface.add_component(gr.HTML("""
92
- <style>
93
- #output-comparisons {
94
- height: 300px;
95
- overflow: auto;
96
- border: 1px solid #ddd;
97
- padding: 10px;
98
- }
99
- #output-history {
100
- height: 300px;
101
- overflow: auto;
102
- border: 1px solid #ddd;
103
- padding: 10px;
104
- }
105
- </style>
106
- """))
107
-
108
- iface.launch()
 
87
  title="Chat with OpenRouter Models"
88
  )
89
 
90
+ # Directly include custom CSS with HTML component
91
+ iface.launch(inline_css=True)