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