GitXplorerGitXplorer
r

ai-town-huggingface

public
19 stars
2 forks
1 issues

Commits

List of commits on branch main.
Unverified
413c31cc53da58f2638a94eedf3745083d8c097d

update player description + remove console logs

rradames committed 7 months ago
Unverified
31fd2cc0f2f91d1fb57966b8a1bec0062ebe7d5e

hf_oauth

rradames committed 7 months ago
Unverified
c95898d97dab7915177a70a0872f0964c975a6fa

login HF

rradames committed 7 months ago
Verified
d06cd3cf4b4ed78283f9ae3180c2937a0f07c319

Update README.md.yml

rradames committed 8 months ago
Unverified
9e0237826ba867d7b61fd69452ded9eda6cb3ddb

fix README

rradames committed 8 months ago
Unverified
92dc61c1f0f394b0b919afa4e2e8e143698b9d23

not mini

rradames committed 8 months ago

README

The README file for this repository.

AI Town 🏠💻💌 on Hugging Face 🤗

Demo on Hugging Face Spaces

AI Town is a very cool project by Yoko et al., a virtual town with live AI characters where they can chat and socialize. You can also interact with them by sending them messages.

This repository contains a few code patches to make AI Town run on Hugging Face 🤗 Spaces, as well as a Dockerfile capable of running Convex open-source backend, the backend and frontend on a single container.

How to run locally

Grab your Hugging Face API token from https://huggingface.co/settings/tokens

export HF_TOKEN=hf_**********
docker build -t ai-town -f Dockerfile .
docker run -ti -p 5173:5173 -e LLM_API_KEY=$HF_TOKEN ai-town

How to run on Hugging Face

You can duplicate this Space https://huggingface.co/spaces/radames/ai-town?duplicate=true, add your HF_TOKEN Then you can customize patches/constants.ts and patches/characters.ts as you wish, as well as the LLM model and embeddings model in patches/llm.ts.