Fix Mixed Content error (mixing https and http) when a user tried to download a CSV from the HuggingFace Space. Use SPACE_HOST environment variable to build a https URL. The underlying problem was Flask request.base_url returned a http URL when running within HuggingFace.
Fix Mixed Content error (mixing https and http) when a user tried to download a CSV from the HuggingFace Space. Use SPACE_HOST environment variable to build a https URL. The underlying problem was Flask request.base_url returned a http URL when running within HuggingFace.
Fixes #78