patrickramos commited on
Commit
b260f20
·
1 Parent(s): 3f12801

Fix requirements

Browse files
Files changed (3) hide show
  1. css.py +2 -2
  2. pitcher_dashboard.py +1 -1
  3. requirements.txt +6 -5
css.py CHANGED
@@ -2,11 +2,11 @@ css = '''
2
  .pitch-usage {height: 256px}
3
  .pitch-usage .js-plotly-plot {height: 100%}
4
 
5
- .pitch-velo {height: 100px}
6
  .pitch-velo .js-plotly-plot {height: 100%}
7
 
8
  .pitch-loc {height: 320px}
9
  .pitch-loc .js-plotly-plot {height: 100%}
10
 
11
  .pitch-velo-summary div.plotly-notifier {visibility: hidden}
12
- '''
 
2
  .pitch-usage {height: 256px}
3
  .pitch-usage .js-plotly-plot {height: 100%}
4
 
5
+ .pitch-velo {height: 200px}
6
  .pitch-velo .js-plotly-plot {height: 100%}
7
 
8
  .pitch-loc {height: 320px}
9
  .pitch-loc .js-plotly-plot {height: 100%}
10
 
11
  .pitch-velo-summary div.plotly-notifier {visibility: hidden}
12
+ '''
pitcher_dashboard.py CHANGED
@@ -15,7 +15,7 @@ os.makedirs('files', exist_ok=True)
15
 
16
  def create_pitcher_dashboard():
17
  with gr.Blocks(
18
- # css=css
19
  ) as demo:
20
  gr.Markdown('''
21
  # NPB data visualization demo
 
15
 
16
  def create_pitcher_dashboard():
17
  with gr.Blocks(
18
+ css=css
19
  ) as demo:
20
  gr.Markdown('''
21
  # NPB data visualization demo
requirements.txt CHANGED
@@ -1,5 +1,6 @@
1
- polars
2
- plotly
3
- numpy
4
- scipy
5
- tqdm
 
 
1
+ einops==0.8.1
2
+ gradio==4.44.1
3
+ gradio_client==1.3.0
4
+ numpy==1.26.4
5
+ plotly==5.24.1
6
+ polars==1.21.0