Spaces:
Runtime error
Runtime error
Commit
·
034aceb
1
Parent(s):
5dc9c2b
Update app.py
Browse files
app.py
CHANGED
@@ -66,6 +66,7 @@ def format_classname(classname):
|
|
66 |
return classname.capitalize()
|
67 |
|
68 |
def formatted_message(audio_class, human_input):
|
|
|
69 |
formatted_classname = format_classname(audio_class)
|
70 |
if cached_audio_class != formatted_classname:
|
71 |
|
|
|
66 |
return classname.capitalize()
|
67 |
|
68 |
def formatted_message(audio_class, human_input):
|
69 |
+
global cached_audio_class
|
70 |
formatted_classname = format_classname(audio_class)
|
71 |
if cached_audio_class != formatted_classname:
|
72 |
|