Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def generate_game_name_and_functions(type):
|
|
34 |
|
35 |
response = chain({'type': type})
|
36 |
|
37 |
-
|
38 |
functions = response["functions"].strip().split(",,")
|
39 |
functions_formatted = "\n".join([f"- 🎮 {item}" for item in functions])
|
40 |
|
|
|
34 |
|
35 |
response = chain({'type': type})
|
36 |
|
37 |
+
game_name = response["game_name"].strip()
|
38 |
functions = response["functions"].strip().split(",,")
|
39 |
functions_formatted = "\n".join([f"- 🎮 {item}" for item in functions])
|
40 |
|