working version gemini voice
Browse filesFiles changed (3)
30 unmodified lines3132333435363730 unmodified lines# Create mapping of providers to their demosPROVIDERS = {"Gemini Voice": demo_gemini_voice(),"Gemini": demo_gemini,"Grok": demo_grok,"Cohere": demo_cohere,30 unmodified lines3132333435363730 unmodified lines# Create mapping of providers to their demosPROVIDERS = {"Gemini Voice": demo_gemini_voice,"Gemini": demo_gemini,"Grok": demo_grok,"Cohere": demo_cohere,
198 unmodified lines199200201202203204205206207208209198 unmodified linesssl_certfile=None)def demo():voice_chat = GeminiVoiceChat()return voice_chat.demo# This allows both direct running and importingif __name__ == "__main__":app = GeminiVoiceChat()app.launch()198 unmodified lines199200201202203204205206207208198 unmodified linesssl_certfile=None)# Create and expose the demo instancedef demo():chat = GeminiVoiceChat()return chat.demo# This is what will be imported by app.pydemo = demo()
1 unmodified line23451 unmodified linelibrosapython-dotenvtwiliogit+https://github.com/AK391/transformers-gradio.git1 unmodified line2345671 unmodified linelibrosapython-dotenvtwiliowebsockets>=11.0.0numpygit+https://github.com/AK391/transformers-gradio.git
app.py+1-1
app_gemini_voice.py+5-6
pre-requirements.txt+2