Spaces:
Running
on
Zero
Running
on
Zero
kwabs22
commited on
Commit
·
33a650b
1
Parent(s):
3e45414
Config based info to help users
Browse files
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 |
|
@@ -1225,9 +1225,9 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
1225 |
with gr.Row():
|
1226 |
with gr.Column(scale=1):
|
1227 |
#display_originalconfigatbeinningofthisspace = originalconfigatbeinningofthisspace.replace(' ', ' ').replace('\n', '<br>')
|
1228 |
-
display_originalconfigatbeinningofthisspace = json.loads(originalconfigatbeinningofthisspace)
|
1229 |
#gr.HTML(f"<pre>{display_originalconfigatbeinningofthisspace}</pre>")
|
1230 |
-
gr.Code(value=json.dumps(
|
1231 |
with gr.Column(scale=2):
|
1232 |
display_claude3_5_06072024configtips = claude3_5_06072024configtips.replace(' ', ' ').replace('\n', '<br>')
|
1233 |
gr.HTML(f"<pre>{display_claude3_5_06072024configtips}</pre>")
|
|
|
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 |
|
|
|
1225 |
with gr.Row():
|
1226 |
with gr.Column(scale=1):
|
1227 |
#display_originalconfigatbeinningofthisspace = originalconfigatbeinningofthisspace.replace(' ', ' ').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(' ', ' ').replace('\n', '<br>')
|
1233 |
gr.HTML(f"<pre>{display_claude3_5_06072024configtips}</pre>")
|