techasad commited on
Commit
9b4bb2c
โ€ข
1 Parent(s): c38df6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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"**{game_name}**\n\n๐Ÿ’ก About The Game\n\n{functions_formatted}"
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)