unpredictable-lord / README.md
ryomo's picture
feat: enable chat functionality through environment variable
af6d7ef

A newer version of the Gradio SDK is available: 6.0.2

Upgrade
metadata
title: Unpredictable Lord
emoji: 🫅
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 5.50.0
app_file: app.py
pinned: false
license: mit
short_description: A strategy game. Advise, but don't command, the AI Lord.
tags:
  - building-mcp-track-creative

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Development

Setup

cp .env.sample .env
uv sync --frozen

Run locally

uv run gradio app.py

About Chat Tab

The Chat Tab is hidden by default, because it is not fully implemented yet.

To enable it, change ENABLE_CHAT to true in your .env file.

Modal

If your local GPU is not powerful enough to run "gpt-oss-20b", you can deploy it to Modal 🚀

uv run modal setup
uv run modal deploy src/unpredictable_lord/chat/llm_modal.py

Then set USE_MODAL=true in your .env file.