File size: 375 Bytes
5ada319
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# Stub for voice module to avoid import errors in HF Space
# Voice generation is optional and won't be used in the remote backend setup

class VoiceExplainer:
    def __init__(self, api_key=None):
        pass
    
    def generate_explanation(self, solution, mode="walkthrough"):
        return None
    
    def save_audio(self, audio_bytes, filename):
        return None