Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def generate_game_name_and_functions(type):
|
|
| 38 |
functions = response["functions"].strip().split(",,")
|
| 39 |
functions_formatted = "\n".join([f"- ๐ฎ {item}" for item in functions])
|
| 40 |
|
| 41 |
-
return f"
|
| 42 |
|
| 43 |
iface = gr.Interface(
|
| 44 |
fn=generate_game_name_and_functions,
|
|
@@ -46,5 +46,6 @@ iface = gr.Interface(
|
|
| 46 |
outputs="text",
|
| 47 |
title="๐ฎ Game Idea Generator ๐ฎ",
|
| 48 |
description="Generate creative game ideas based on a game type!",
|
|
|
|
| 49 |
)
|
| 50 |
iface.launch(share=False)
|
|
|
|
| 38 |
functions = response["functions"].strip().split(",,")
|
| 39 |
functions_formatted = "\n".join([f"- ๐ฎ {item}" for item in functions])
|
| 40 |
|
| 41 |
+
return f"{game_name}\n\n๐ก About The Game\n\n{functions_formatted}"
|
| 42 |
|
| 43 |
iface = gr.Interface(
|
| 44 |
fn=generate_game_name_and_functions,
|
|
|
|
| 46 |
outputs="text",
|
| 47 |
title="๐ฎ Game Idea Generator ๐ฎ",
|
| 48 |
description="Generate creative game ideas based on a game type!",
|
| 49 |
+
interpretation="markdown"
|
| 50 |
)
|
| 51 |
iface.launch(share=False)
|