diff --git a/index.html b/index.html
index 1125958..4a42769 100644
--- a/index.html
+++ b/index.html
@@ -2,12 +2,12 @@
-
+
Vite + React
-
+
diff --git a/src/components/Avatar.jsx b/src/components/Avatar.jsx
index d6ceeb7..722c153 100644
--- a/src/components/Avatar.jsx
+++ b/src/components/Avatar.jsx
@@ -7,7 +7,7 @@ import { useAnimations, useFBX, useGLTF, useScroll } from "@react-three/drei";
import { useFrame } from "@react-three/fiber";
import * as THREE from "three";
export default function Avatar(props) {
- const { nodes, materials } = useGLTF("/3D-Portfolio/models/Me.glb");
+ const { nodes, materials } = useGLTF("./../../public/models/Me.glb");
const { animations: idleAnimation } = useFBX(
"/animations/Breathing_Idle.fbx"
);
@@ -115,6 +115,6 @@ export default function Avatar(props) {
);
}
-useGLTF.preload("/3D-Portfolio/models/Me.glb");
+useGLTF.preload("./../../public/models/Me.glb");
useFBX.preload("/animations/Breathing_Idle.fbx");
useFBX.preload("/animations/Walking.fbx");