update
Browse filesFiles changed (3)
- README.md+1-1
- app.py+2-4
- app_gemini_voice.py+2-18
3 unmodified lines456789103 unmodified linescolorFrom: indigocolorTo: indigosdk: gradiosdk_version: 5.8.0app_file: app.pypinned: falsedisable_embedding: true3 unmodified lines456789103 unmodified linescolorFrom: indigocolorTo: indigosdk: gradiosdk_version: 5.9.0app_file: app.pypinned: falsedisable_embedding: true
1234563 unmodified lines697071727374757677from utils import get_app# Import all demosfrom app_cohere import demo as demo_coherefrom app_meta import demo as demo_meta63 unmodified linesif __name__ == "__main__":demo.queue(api_open=False,max_size=20).launch(show_api=False,share=True,server_name="0.0.0.0")12345663 unmodified lines707172737475from utils import get_app# Import all demosfrom app_cohere import demo as demo_coherefrom app_meta import demo as demo_meta63 unmodified linesif __name__ == "__main__":demo.queue(api_open=False,).launch(show_api=False)
172 unmodified lines1731741751761771781791801811821831841851861871881891901911921931946 unmodified lines201202203204205206207208209210211212172 unmodified lines</div>""")rtc_config = {"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}]}try:rtc_config = get_twilio_turn_credentials()except Exception as e:print(f"Using fallback STUN configuration: {e}")webrtc = WebRTC(label="Conversation",modality="audio",mode="send-receive",rtc_configuration=rtc_config)webrtc.stream(6 unmodified linesreturn demodef launch(self):self.demo.launch(server_name="0.0.0.0",server_port=int(os.environ.get("PORT", 7860)),share=False)# Create and expose the demo instancedef demo():chat = GeminiVoiceChat()172 unmodified lines1731741751761771781791801811821836 unmodified lines190191192193194195196172 unmodified lines</div>""")webrtc = WebRTC(label="Conversation",modality="audio",mode="send-receive",rtc_configuration=get_twilio_turn_credentials())webrtc.stream(6 unmodified linesreturn demodef launch(self):self.demo.launch()# Create and expose the demo instancedef demo():chat = GeminiVoiceChat()
README.md+1-1
app.py+2-4
app_gemini_voice.py+2-18