Skip to content

Commit 9336d5d

Browse files
authored
Apply suggestions from code review
1 parent 9849195 commit 9336d5d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/hub/spaces-sdks-docker-langfuse.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Langfuse on Spaces
22

3-
This guide shows you how to deploy Langfuse on Hugging Face Spaces and start instrumenting your LLM application. This integreation helps you to experiment on Hugging Face models, manage your prompts in one place and evaluate model outputs.
3+
This guide shows you how to deploy Langfuse on Hugging Face Spaces and start instrumenting your LLM application. This integration helps you to experiment on Hugging Face models, manage your prompts in one place and evaluate model outputs.
44

55
## What is Langfuse?
66

@@ -29,11 +29,11 @@ The Langfuse Hugging Face Space allows you to get up and running with a deployed
2929
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/deploy-to-spaces-lg.svg" />
3030
</a>
3131

32-
1.1. Create a [**new Hugging Face Space**](https://huggingface.co/new-space)
33-
1.2. Select **Docker** as the Space SDK
34-
1.3. Select **Langfuse** as the Space template
35-
1.4. Enable **persistent storage** to ensure your Langfuse data is persisted across restarts
36-
1.5. For a secure deployment, replace the default values of the **environment variables**:
32+
### 1.1. Create a [**new Hugging Face Space**](https://huggingface.co/new-space)
33+
### 1.2. Select **Docker** as the Space SDK
34+
### 1.3. Select **Langfuse** as the Space template
35+
### 1.4. Enable **persistent storage** to ensure your Langfuse data is persisted across restarts
36+
### 1.5. For a secure deployment, replace the default values of the **environment variables**:
3737
- `NEXTAUTH_SECRET`: Used to validate login session cookies, generate secret with at least 256 entropy using `openssl rand -base64 32`.
3838
- `SALT`: Used to salt hashed API keys, generate secret with at least 256 entropy using `openssl rand -base64 32`.
3939
- `ENCRYPTION_KEY`: Used to encrypt sensitive data. Must be 256 bits, 64 string characters in hex format, generate via: `openssl rand -hex 32`.
@@ -48,11 +48,11 @@ Now that you have Langfuse running, you can start instrumenting your LLM applica
4848

4949
We created a Gradio template space that shows how to create a simple chat application using a Hugging Face model and trace model calls and user feedback in Langfuse - without leaving Hugging Face.
5050

51-
<a href="https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template">
51+
<a href="https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template?duplicate=true">
5252
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/deploy-to-spaces-lg.svg" />
5353
</a>
5454

55-
To get started, clone the [Gradio template space](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template) and follow the instructions in the [README](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template/blob/main/README.md).
55+
To get started, [duplicate this Gradio template space](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template?duplicate=true) and follow the instructions in the [README](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template/blob/main/README.md).
5656

5757
### Monitor Any Application
5858

0 commit comments

Comments
 (0)