Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enstools-compression
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2w
enstools-compression
Commits
bf9403da
"README.md" did not exist on "0ae62a6c56e3caaad05f32fdb93dea01a3dcfda1"
Commit
bf9403da
authored
1 year ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Add some extra information.
parent
d25017b3
No related branches found
No related tags found
1 merge request
!18
Several changes including chunking and expansion of examples.
Pipeline
#19108
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/streamlit/playground.py
+6
-1
6 additions, 1 deletion
examples/streamlit/playground.py
with
6 additions
and
1 deletion
examples/streamlit/playground.py
+
6
−
1
View file @
bf9403da
...
@@ -14,14 +14,19 @@ data = create_data()
...
@@ -14,14 +14,19 @@ data = create_data()
def
setup_main_frame
():
def
setup_main_frame
():
st
.
title
(
"
Welcome to the :green[enstools-compression] playground!
"
)
st
.
title
(
"
Welcome to the :green[enstools-compression] playground!
"
)
st
.
markdown
(
"
Find more information our [**GitHub repository**](https://github.com/wavestoweather/enstools-compression)
"
"
or in our [**documentation**](https://enstools-compression.readthedocs.io)
"
)
with
st
.
sidebar
:
with
st
.
sidebar
:
select_dataset
(
data
)
select_dataset
(
data
)
slice_selection
=
select_slice
(
data
)
slice_selection
=
select_slice
(
data
)
st
.
markdown
(
"
---
"
)
st
.
markdown
(
"
---
"
)
if
data
.
reference_da
is
None
:
st
.
markdown
(
"
## :point_left: Please :red[select a dataset] using the left sidebar!
"
)
return
options
=
[
"
Compression
"
,
"
Advanced Compression
"
,
"
Analysis
"
]
options
=
[
"
Compression
"
,
"
Advanced Compression
"
,
"
Analysis
"
]
basic
,
advanced
,
analysis
=
st
.
tabs
(
options
)
basic
,
advanced
,
analysis
=
st
.
tabs
(
options
)
with
basic
:
with
basic
:
basic_section
(
data
=
data
,
slice_selection
=
slice_selection
)
basic_section
(
data
=
data
,
slice_selection
=
slice_selection
)
with
st
.
spinner
():
with
st
.
spinner
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment