Coder Social home page Coder Social logo

aaroncwacker / ai-town-huggingface Goto Github PK

View Code? Open in Web Editor NEW

This project forked from radames/ai-town-huggingface

0.0 0.0 0.0 29 KB

AI town https://github.com/a16z-infra/ai-town Patches to run on Hugging Face Spaces

Home Page: https://huggingface.co/spaces/radames/ai-town

Shell 1.67% TypeScript 95.70% Dockerfile 2.64%

ai-town-huggingface's Introduction

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.

ai-town-huggingface's People

Contributors

radames avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.