Spaces:
Sleeping
Sleeping
| # 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 | |