pratikshahp commited on
Commit
6789d19
·
verified ·
1 Parent(s): b579ca9

Rename app.py to app-hard-code.py

Browse files
Files changed (1) hide show
  1. app.py → app-hard-code.py +4 -4
app.py → app-hard-code.py RENAMED
@@ -6,10 +6,10 @@ from helper import get_together_api_key, load_env
6
 
7
  client = Together(api_key=get_together_api_key())
8
 
9
- # world = load_world('./YourWorld_L1.json')
10
- # kingdom = world['kingdoms']['Varanasi Kingdom']
11
- # town = kingdom['towns']["Sarnath"]
12
- # character = town['npcs']['Rohan Vyas']
13
 
14
  system_prompt = """You are an AI Game master. Your job is to create a
15
  start to an adventure based on the world, kingdom, town and character
 
6
 
7
  client = Together(api_key=get_together_api_key())
8
 
9
+ world = load_world('./YourWorld_L1.json')
10
+ kingdom = world['kingdoms']['Varanasi Kingdom']
11
+ town = kingdom['towns']["Sarnath"]
12
+ character = town['npcs']['Rohan Vyas']
13
 
14
  system_prompt = """You are an AI Game master. Your job is to create a
15
  start to an adventure based on the world, kingdom, town and character