File size: 899 Bytes
42e45a9
 
9d6bce3
42e45a9
 
 
667e88e
42e45a9
 
 
2129942
e753a81
3f53a9e
42e45a9
 
7db2ce3
9f49a0b
 
 
 
 
 
f0226f8
9f49a0b
 
 
5375d80
2129942
 
5375d80
2129942
 
5375d80
f0226f8
5375d80
 
af6d7ef
5375d80
 
 
 
9f49a0b
 
5375d80
 
9f49a0b
5375d80
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
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

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

### Run locally

```sh
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 🚀

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

Then set `USE_MODAL=true` in your `.env` file.