Ken-INOUE commited on
Commit
c4bdd99
·
1 Parent(s): 1eb5c08

Enhance Gradio UI by adding custom CSS for vertical scrolling, ensuring better usability in the trend detection application.

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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() as demo:
 
 
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():