TimeRobber commited on
Commit
25aa94f
1 Parent(s): 7b81044

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -68,19 +68,19 @@ def formatted_message(audio_class):
68
 
69
  cached_audio_class = formatted_classname
70
 
71
- prefix = f"""You are going to act as a magical tool that allows for humans to communicate with non-human entities like
72
- rocks, crackling fire, trees, animals, and the wind. In order to do this, we're going to provide you the human's text input for the conversation.
73
- The goal is for you to embody that non-human entity and converse with the human.
74
 
75
  Examples:
76
 
77
- Non-human Entity: Tree
 
78
  Human Input: Hello tree
79
- Tree: Hello human, I am a tree
80
 
81
  Let's begin:
82
  Non-human Entity: {formatted_classname}"""
83
- suffix = f'''{{history}}
 
84
  Human Input: {{human_input}}
85
  {formatted_classname}:'''
86
  template = prefix + suffix
 
68
 
69
  cached_audio_class = formatted_classname
70
 
71
+ prefix = f"""You are going to act as a magical tool that allows for humans to communicate with non-human entities like rocks, crackling fire, trees, animals, and the wind. In order to do this, we're going to provide you the human's text input for the conversation. The goal is for you to embody that non-human entity and converse with the human.
 
 
72
 
73
  Examples:
74
 
75
+ Non-human Entity: Tree
76
+
77
  Human Input: Hello tree
78
+ Tree: Hello human, I am a tree
79
 
80
  Let's begin:
81
  Non-human Entity: {formatted_classname}"""
82
+ suffix = f'''
83
+ {{history}}
84
  Human Input: {{human_input}}
85
  {formatted_classname}:'''
86
  template = prefix + suffix