Skip to content

Commit

Permalink
found a few spelling errors (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
justJay-dev authored Dec 7, 2023
1 parent 44bd90d commit 3ebef5a
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ subprocess.run(["python", "script.py"])

When you run the above code block, you will get the version of Python that is on the system path—not necessarily the Python executable installed in the virtual environment that the Streamlit code is running under.

The solution is to detect the Python executable directy with [`sys.executable`](https://docs.python.org/3/library/sys.html#sys.executable):
The solution is to detect the Python executable directly with [`sys.executable`](https://docs.python.org/3/library/sys.html#sys.executable):

```python
# streamlit_app.py
Expand Down
2 changes: 1 addition & 1 deletion content/kb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The knowledge base is a self-serve library of tips, step-by-step tutorials, and
bold="Installing dependencies."
href="/knowledge-base/dependencies"
>
If you run into problems installing depedencies for your Streamlit apps, we've got you covered.
If you run into problems installing dependencies for your Streamlit apps, we've got you covered.
</InlineCallout>
<InlineCallout
color="orange-80"
Expand Down
6 changes: 3 additions & 3 deletions content/kb/using-streamlit/upgrade-version-streamlit.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Streamlit's officially-supported environment manager for macOS and Linux is [Pip
cd myproject
```

2. Activate that environment, upgrade Streamlit, and verify you have the lastest version:
2. Activate that environment, upgrade Streamlit, and verify you have the latest version:

```bash
pipenv shell
Expand All @@ -44,7 +44,7 @@ conda activate $ENVIRONMENT_NAME

Be sure to replace`$ENVIRONMENT_NAME` ☝️ with the name your conda environment!

2. Update Streamlit within the active conda environment and verify you have the lastest version:
2. Update Streamlit within the active conda environment and verify you have the latest version:

```bash
conda update -c conda-forge streamlit -y
Expand All @@ -53,7 +53,7 @@ streamlit version

## Poetry

In order to get the latest version of Streamlit with [Poetry](https://python-poetry.org/) and verify you have the lastest version, run:
In order to get the latest version of Streamlit with [Poetry](https://python-poetry.org/) and verify you have the latest version, run:

```bash
poetry update streamlit
Expand Down
4 changes: 2 additions & 2 deletions content/streamlit-cloud/deploy-your-app/app-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ directory as your Streamlit app.

## Add Python dependencies

With each `import` statement in your script, you are bringing in a Python dependency. You need to tell Streamlit Community Cloud how to install those depencies through a Python package manager. We recommend using a `requirements.txt` which is based on `pip`.
With each `import` statement in your script, you are bringing in a Python dependency. You need to tell Streamlit Community Cloud how to install those dependencies through a Python package manager. We recommend using a `requirements.txt` which is based on `pip`.

You should _not_ include <a href="https://docs.python.org/3/py-modindex.html" target="_blank">built-in Python libraries</a> like `math` or `random` in your `requirements.txt` file. These are a part of Python and aren't installed separately. Also, Streamlit Community Cloud has `streamlit` installed by default. You don't strictly need to include `streamlit` unless you want to pin or restrict the version. If you deploy an app without a `requirements.txt` file, your app will run in an environment with just `streamlit` (and its dependencies) installed.

Expand Down Expand Up @@ -61,7 +61,7 @@ We recommend that you use the latest version of Streamlit to ensure full Streaml

</Note>

If you pin `streamlit` below 1.20.0, you may experience unexpected results if you've pinned any dependencies of `altair`. If `streamlit` is installed below version 1.20.0, `altair<5` will be reinstalled on top of your evironment for compatibility reasons. When this happens all of altair's dependecies will be updated.
If you pin `streamlit` below 1.20.0, you may experience unexpected results if you've pinned any dependencies of `altair`. If `streamlit` is installed below version 1.20.0, `altair<5` will be reinstalled on top of your environment for compatibility reasons. When this happens all of altair's dependencies will be updated.

### Other Python package managers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ my_db.connect(**st.secrets.db_credentials)

### Edit your app's secrets

If you need to add or edit your secrets for an app that is already deployed, you can accesss advanced setting from your admin panel.
If you need to add or edit your secrets for an app that is already deployed, you can access advanced setting from your admin panel.

1. Go to <a href="https://share.streamlit.io" target="_blank">share.streamlit.io</a>.
2. Click the overflow menu icon (<i style={{ verticalAlign: "-.25em" }} className={{ class: "material-icons-sharp" }}>more_vert</i>) for your app.
Expand Down
6 changes: 3 additions & 3 deletions content/streamlit-cloud/get-started/create-your-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you're sharing a private app, you will assign viewing permission by email. Th
#### Primary identity option 1: Google

1. Go to <a href="https://share.streamlit.io/signup" target="_blank">share.streamlit.io/signup</a>.
2. Click "**Continute with Google**".
2. Click "**Continue with Google**".

<div style={{ maxWidth: '50%', margin: 'auto' }}>
<Image alt="Sign up for Streamlit Community Cloud with Google" src="/images/streamlit-community-cloud/sign-up-Google-XL.png" />
Expand All @@ -48,7 +48,7 @@ If you're sharing a private app, you will assign viewing permission by email. Th
#### Primary identity option 2: email

1. Go to <a href="https://share.streamlit.io/signup" target="_blank">share.streamlit.io/signup</a>.
2. Enter your email address and click "**Continute with email**".
2. Enter your email address and click "**Continue with email**".

<div style={{ maxWidth: '50%', margin: 'auto' }}>
<Image alt="Sign up for Streamlit Community Cloud with email" src="/images/streamlit-community-cloud/sign-up-email-XL.png" />
Expand All @@ -74,7 +74,7 @@ If you're sharing a private app, you will assign viewing permission by email. Th

### Step 2: Source control

Streamlit Community Cloud is integreated with GitHub for source control. If you begin your sign-up process with GitHub, you will not be directly prompted to create a primary identity. However, you can attach a Google account later.
Streamlit Community Cloud is integrated with GitHub for source control. If you begin your sign-up process with GitHub, you will not be directly prompted to create a primary identity. However, you can attach a Google account later.

There are two different authorization requests to completely [Connect your GitHub account](/streamlit-community-cloud/get-started/connect-your-github-account). You will encounter the first authorization request when you begin connecting your GitHub account. A second authorization is needed the first time you deploy an app. If you will be deploying or managing any apps from a GitHub organization, your authorization requests will include additional options to allow [Organization access](/streamlit-community-cloud/get-started/connect-github#organization-access).

Expand Down
2 changes: 1 addition & 1 deletion content/streamlit-cloud/get-started/fork-and-edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Community Cloud is all about learning, sharing, and exploring the world of Strea

![Your new GitHub Codespace](/images/streamlit-community-cloud/fork-cheatsheet-codespace.png)

You now have a copy the public app deployed from your account. You can edit and explore within your codespace and (if you choose) commit your changes to your deployed app to share with the world! 🌎 Learn more about editing your app in GitHub Codespaces, commiting your edits to your repository, and shutting down your codespace in [Edit your app with GitHub Codespaces](/streamlit-community-cloud/manage-your-app/edit-your-app#edit-your-app-with-github-codespaces).
You now have a copy the public app deployed from your account. You can edit and explore within your codespace and (if you choose) commit your changes to your deployed app to share with the world! 🌎 Learn more about editing your app in GitHub Codespaces, committing your edits to your repository, and shutting down your codespace in [Edit your app with GitHub Codespaces](/streamlit-community-cloud/manage-your-app/edit-your-app#edit-your-app-with-github-codespaces).
2 changes: 1 addition & 1 deletion content/streamlit-cloud/get-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: /streamlit-community-cloud/get-started

# Get started

Welcome to Streamlit Community Cloud, where you can share your Streamlit apps with the world! Whether you've already created your first Streamlit app or you're just getting started, you're in ther right place.
Welcome to Streamlit Community Cloud, where you can share your Streamlit apps with the world! Whether you've already created your first Streamlit app or you're just getting started, you're in the right place.

First things first, you need to create your Streamlit Community Cloud account to start deploying apps.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ From your workspace at <a href="https://share.streamlit.io" target="_blank">shar

The "**Linked accounts**" section shows your current primary identity and source control account. To learn more, see [Manage your account](/streamlit-community-cloud/manage-your-account).

![Mangae your linked accounts in workspace settings](/images/streamlit-community-cloud/account-primary-identity-and-source-control.png)
![Manage your linked accounts in workspace settings](/images/streamlit-community-cloud/account-primary-identity-and-source-control.png)

## Limits

Expand Down
2 changes: 1 addition & 1 deletion content/streamlit-cloud/manage-your-app/edit-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Spin up a cloud-based development environment for your deployed app in minutes.

![Your new GitHub Codespace](/images/streamlit-community-cloud/deploy-sample-codespace.png)

6. When you make changes to your app, the file is automatically saved within your codespace. Your edits do not affect your repository unless you choose to commit those changes. We will describe commiting your changes in a later step.
6. When you make changes to your app, the file is automatically saved within your codespace. Your edits do not affect your repository unless you choose to commit those changes. We will describe committing your changes in a later step.

In order to see updates automatically reflected on the right, click "**Always rerun**" when prompted after an edit.

Expand Down
2 changes: 1 addition & 1 deletion content/streamlit-cloud/manage-your-app/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If your app is running slowly or you're hitting the '😦 Oh no.' page, we first
- <a href="https://blog.streamlit.io/common-app-problems-resource-limits/" target="_blank">Common app problems: Resource limits</a>
- <a href="https://blog.streamlit.io/3-steps-to-fix-app-memory-leaks/" target="_blank">3 steps to fix app memory leaks</a>

If your app exceeds its resourse limits, developers and viewers alike will see '😦 Oh no.'
If your app exceeds its resource limits, developers and viewers alike will see '😦 Oh no.'

<div style={{ maxWidth: '70%', margin: 'auto' }}>
<Image alt="App state: Oh no. Error running your app." src="/images/streamlit-community-cloud/app-state-oh-no.png" />
Expand Down

0 comments on commit 3ebef5a

Please sign in to comment.