title | app_file | sdk | sdk_version | python_version | hf_oauth |
---|---|---|---|---|---|
textgames |
play_with_hf.py |
gradio |
5.17.1 |
3.11.8 |
true |
-
HuggingFace Space
https://huggingface.co/spaces/fhudi/textgames (login required)
-
Setup
❱❱❱ pip install -r requirements.txt
-
Play (Terminal)
❱❱❱ python play.py
-
Play (Web UI)
❱❱❱ pip install gradio ❱❱❱ GRADIO_SERVER_PORT=1080 python play_gradio.py
Open
localhost:1080
to access.
- Optional Environment Varibles
TEXTGAMES_SHOW_HIDDEN_LEVEL=1