Spaces:
Running
Running
test
Browse files
app.py
CHANGED
@@ -235,4 +235,17 @@ with demo:
|
|
235 |
scheduler = BackgroundScheduler()
|
236 |
scheduler.add_job(restart_space, "interval", seconds=3600)
|
237 |
scheduler.start()
|
238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
scheduler = BackgroundScheduler()
|
236 |
scheduler.add_job(restart_space, "interval", seconds=3600)
|
237 |
scheduler.start()
|
238 |
+
|
239 |
+
custom_css = """
|
240 |
+
<style>
|
241 |
+
select {
|
242 |
+
max-width: 200px; /* 根据需要调整这个值 */
|
243 |
+
}
|
244 |
+
option {
|
245 |
+
white-space: normal;
|
246 |
+
}
|
247 |
+
</style>
|
248 |
+
"""
|
249 |
+
|
250 |
+
|
251 |
+
demo.launch(debug=True, custom_css=custom_css)
|