kwabs22 commited on
Commit
ca00fa5
·
1 Parent(s): 33a650b

Config based info to help users

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -706,7 +706,7 @@ with gr.Blocks() as demo:
706
 
707
  with gr.Accordion("Config Crafting Progerssion - click to open", open=False):
708
  gr.HTML("Example of how to advance a game config with LLM - end goal is to have automatic worflow that takes these considerations into account <br> Things missing from the game engine - Economics and Basic Politics (NPC affiliation)")
709
- originalconfigatbeinningofthisspace = {
710
  "village": {
711
  "start": {
712
  "description": "You wake up in a small village. You hear a rumor about a lost treasure.",
@@ -792,7 +792,7 @@ with gr.Blocks() as demo:
792
  "media": []
793
  },
794
  }
795
- }
796
  #Analyzing Game Configuration Metrics - was the thread name of where the
797
  claude3_5_06072024configtips = """Example Config Development Tab - Claude 3.5 Sonnet as the LLM Assitant
798
 
@@ -1221,21 +1221,21 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1221
  },
1222
  }
1223
  }"""
1224
-
1225
  with gr.Row():
1226
  with gr.Column(scale=1):
1227
- #display_originalconfigatbeinningofthisspace = originalconfigatbeinningofthisspace.replace(' ', '&nbsp;').replace('\n', '<br>')
1228
  #display_originalconfigatbeinningofthisspace = json.loads(originalconfigatbeinningofthisspace)
1229
- #gr.HTML(f"<pre>{display_originalconfigatbeinningofthisspace}</pre>")
1230
- gr.Code(value=json.dumps(originalconfigatbeinningofthisspace, indent=2), language="json") #originalconfigatbeinningofthisspace)
1231
  with gr.Column(scale=2):
1232
  display_claude3_5_06072024configtips = claude3_5_06072024configtips.replace(' ', '&nbsp;').replace('\n', '<br>')
1233
- gr.HTML(f"<pre>{display_claude3_5_06072024configtips}</pre>")
1234
  with gr.Column(scale=1):
1235
- #display_tipsupdatedconfigatbeinningofthisspace = tipsupdatedconfigatbeinningofthisspace.replace(' ', '&nbsp;').replace('\n', '<br>')
1236
- display_tipsupdatedconfigatbeinningofthisspace = json.loads(tipsupdatedconfigatbeinningofthisspace)
1237
- #gr.HTML(f"<pre>{display_tipsupdatedconfigatbeinningofthisspace}</pre>")
1238
- gr.Code(value=json.dumps(display_tipsupdatedconfigatbeinningofthisspace, indent=2), language="json")
1239
 
1240
  with gr.Tab("Test and Edit Config"):
1241
  gr.HTML("The main issue is frequent changes add more chances for bugs in how ")
 
706
 
707
  with gr.Accordion("Config Crafting Progerssion - click to open", open=False):
708
  gr.HTML("Example of how to advance a game config with LLM - end goal is to have automatic worflow that takes these considerations into account <br> Things missing from the game engine - Economics and Basic Politics (NPC affiliation)")
709
+ originalconfigatbeinningofthisspace = """{
710
  "village": {
711
  "start": {
712
  "description": "You wake up in a small village. You hear a rumor about a lost treasure.",
 
792
  "media": []
793
  },
794
  }
795
+ }"""
796
  #Analyzing Game Configuration Metrics - was the thread name of where the
797
  claude3_5_06072024configtips = """Example Config Development Tab - Claude 3.5 Sonnet as the LLM Assitant
798
 
 
1221
  },
1222
  }
1223
  }"""
1224
+ gr.HTML("Suggestt")
1225
  with gr.Row():
1226
  with gr.Column(scale=1):
1227
+ display_originalconfigatbeinningofthisspace = originalconfigatbeinningofthisspace.replace(' ', '&nbsp;').replace('\n', '<br>')
1228
  #display_originalconfigatbeinningofthisspace = json.loads(originalconfigatbeinningofthisspace)
1229
+ gr.HTML(f"<pre style='font-size: 6px;'>{display_originalconfigatbeinningofthisspace}</pre>")
1230
+ #gr.Code(value=json.dumps(originalconfigatbeinningofthisspace, indent=2), language="json") #originalconfigatbeinningofthisspace)
1231
  with gr.Column(scale=2):
1232
  display_claude3_5_06072024configtips = claude3_5_06072024configtips.replace(' ', '&nbsp;').replace('\n', '<br>')
1233
+ gr.HTML(f"<pre style='font-size: 6px;'>{display_claude3_5_06072024configtips}</pre>")
1234
  with gr.Column(scale=1):
1235
+ display_tipsupdatedconfigatbeinningofthisspace = tipsupdatedconfigatbeinningofthisspace.replace(' ', '&nbsp;').replace('\n', '<br>')
1236
+ #display_tipsupdatedconfigatbeinningofthisspace = json.loads(tipsupdatedconfigatbeinningofthisspace)
1237
+ gr.HTML(f"<pre style='font-size: 6px;'>{display_tipsupdatedconfigatbeinningofthisspace}</pre>")
1238
+ #gr.Code(value=json.dumps(display_tipsupdatedconfigatbeinningofthisspace, indent=2), language="json")
1239
 
1240
  with gr.Tab("Test and Edit Config"):
1241
  gr.HTML("The main issue is frequent changes add more chances for bugs in how ")