Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -19,4 +19,8 @@ preload_from_hub:
|
|
19 |
|
20 |
# Speaches.ai Demo
|
21 |
|
22 |
-
Speaches.ai demo for the Mozilla [Speech-to-Text Blueprint](https://github.com/mozilla-ai/speech-to-text/)
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
# Speaches.ai Demo
|
21 |
|
22 |
+
[Speaches.ai](https://github.com/speaches-ai/speaches) demo for the Mozilla AI [Speech-to-Text Blueprint](https://github.com/mozilla-ai/speech-to-text/)
|
23 |
+
|
24 |
+
By default the demo throws a 301 HTTP error when run on a HF Space, because HTTP requests are redirected to HTTPS by HF. This can be solved by setting the `LOOPBACK_HOST_URL` environment variable to the HF Space URL. Speaches uses this var in its config to set the base URL for requests.
|
25 |
+
|
26 |
+
Here is the sample setting for this particular HF space: `LOOPBACK_HOST_URL=https://storytracer-speaches-demo.hf.space`. It is set through the [HF Space settings](https://huggingface.co/docs/hub/en/spaces-overview#managing-secrets). You might also be able to set it in the Dockerfile directly, but that will break the Dockerfile if someone else clones your space.
|