Enhance Gradio UI by adding custom CSS for vertical scrolling, ensuring better usability in the trend detection application.
Browse files
app.py
CHANGED
|
@@ -128,7 +128,9 @@ def detect_trends_with_forecast(process_name, datetime_str, window_minutes, fore
|
|
| 128 |
|
| 129 |
|
| 130 |
# --- Gradio UI ---
|
| 131 |
-
with gr.Blocks(
|
|
|
|
|
|
|
| 132 |
gr.Markdown("## 傾向検出アプリ(重要項目ごとの詳細+閾値予測)")
|
| 133 |
|
| 134 |
with gr.Row():
|
|
|
|
| 128 |
|
| 129 |
|
| 130 |
# --- Gradio UI ---
|
| 131 |
+
with gr.Blocks(
|
| 132 |
+
css=".gradio-container {overflow-y: auto !important; height: 100vh;}"
|
| 133 |
+
) as demo:
|
| 134 |
gr.Markdown("## 傾向検出アプリ(重要項目ごとの詳細+閾値予測)")
|
| 135 |
|
| 136 |
with gr.Row():
|