Spaces:
Running
Running
Richard To
commited on
Update README.md with Hugging Face instructions
Browse files
README.md
CHANGED
@@ -26,3 +26,26 @@ docker build -t mesop-app-runner . && docker run --name mesop-app-runner \
|
|
26 |
-e MESOP_APP_RUNNER_TOKEN=your-secret-token \
|
27 |
-d -p 8080:8080 mesop-app-runner;
|
28 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
-e MESOP_APP_RUNNER_TOKEN=your-secret-token \
|
27 |
-d -p 8080:8080 mesop-app-runner;
|
28 |
```
|
29 |
+
|
30 |
+
## Hugging Face
|
31 |
+
|
32 |
+
If you want to test out the [Mesop App Maker](https://huggingface.co/spaces/richard-to/mesop-app-maker) on Hugging Face,
|
33 |
+
you will need to create your own instance of the [Mesop App Runner](https://huggingface.co/spaces/richard-to/mesop-app-runner).
|
34 |
+
|
35 |
+
You can do this by duplicating the [Mesop App Runner](https://huggingface.co/spaces/richard-to/mesop-app-runner) on Hugging Face.
|
36 |
+
|
37 |
+
This can be done on the [Mesop App Runner](https://huggingface.co/spaces/richard-to/mesop-app-runner) space like this:
|
38 |
+
|
39 |
+

|
40 |
+
|
41 |
+
Make sure to specify a `MESOP_APP_RUNNER_TOKEN`. This can be any random characters. It is needed to ensure that only people
|
42 |
+
with the token can run Mesop code on your runner instance.
|
43 |
+
|
44 |
+
<img width="889" alt="Screenshot 2024-08-25 at 2 49 36 PM" src="https://github.com/user-attachments/assets/4c6ce056-0898-4c10-8e6c-36d268a63108">
|
45 |
+
|
46 |
+
The URL will be something like `https://<username>-<app-name>.hf.space`.
|
47 |
+
|
48 |
+
You will need to provide this URL as the Runner URL on [Mesop App Maker](https://huggingface.co/spaces/richard-to/mesop-app-maker).
|
49 |
+
You will also need to provide the runner token associated with your instance on [Mesop App Maker](https://huggingface.co/spaces/richard-to/mesop-app-maker).
|
50 |
+
|
51 |
+
<img width="1310" alt="Screenshot 2024-08-25 at 4 22 32 PM" src="https://github.com/user-attachments/assets/efa1ce04-4770-4927-89ab-6a65ed62b014">
|