Skip to content

Commit 70438aa

Browse files
committed
remove pixel ratio to check if mobile is now better
1 parent af1b7d8 commit 70438aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h2>Please enter your OpenAI API Key</h2>
239239
"type": "session.update",
240240
"session": {
241241
"modalities": ["text", "audio"],
242-
"instructions": "You are a helpful AI assistant. Your name is Milena. User see you as avatar and your speech is lips synced with avatar",
242+
"instructions": "You are a helpful AI assistant. Your name is Milena, you are woman-like. User see you as avatar and your speech is lips synced with avatar",
243243
"voice": "sage",
244244
"input_audio_format": "pcm16",
245245
"output_audio_format": "pcm16",

src/js/avatar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Avatar {
2323
this.renderer.shadowMap.enabled = true;
2424
this.renderer.shadowMap.type = THREE.PCFSoftShadowMap; // Softer shadows
2525

26-
this.renderer.setPixelRatio(window.devicePixelRatio);
26+
//this.renderer.setPixelRatio(window.devicePixelRatio);
2727
this.renderer.outputColorSpace = THREE.SRGBColorSpace;
2828
this.renderer.toneMapping = THREE.ACESFilmicToneMapping;
2929
this.renderer.toneMappingExposure = 1.2;

0 commit comments

Comments
 (0)