File size: 232 Bytes
03d8f07
 
 
 
 
 
 
1
2
3
4
5
6
7
8
def get_user_query(text_input, transcribed_audio):
    if text_input:
        return text_input
    elif transcribed_audio:
        return transcribed_audio
    else:
        return "Can you help me understand what's wrong?"