Spaces:
Runtime error
Runtime error
Commit
·
64d2467
1
Parent(s):
b896898
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,7 @@ def audio_tag(
|
|
| 65 |
|
| 66 |
|
| 67 |
def formatted_message(audio_class, human_input):
|
|
|
|
| 68 |
if cached_audio_class != audio_class:
|
| 69 |
cached_audio_class = audio_class
|
| 70 |
prefix = f"""You are going to act as a magical tool that allows for humans to communicate with non-human entities like
|
|
|
|
| 65 |
|
| 66 |
|
| 67 |
def formatted_message(audio_class, human_input):
|
| 68 |
+
global cached_audio_class
|
| 69 |
if cached_audio_class != audio_class:
|
| 70 |
cached_audio_class = audio_class
|
| 71 |
prefix = f"""You are going to act as a magical tool that allows for humans to communicate with non-human entities like
|