diff --git a/python/display.py b/python/display.py
index 338cf55f57610e3d5d951139d8988a2442461dc3..f8d770009867555412140757244e2880bf79a4ce 100644
--- a/python/display.py
+++ b/python/display.py
@@ -1,12 +1,16 @@
 import unittest
 import pinocchio as se3
 import numpy as np
+import os
 
 from pinocchio.robot_wrapper import RobotWrapper
 
 # Warning : the paths are here hard-coded. This file is only here as an example
-list_py = ["/local/fvalenza/devel/src/pinocchio/models","titi"]
-robot = RobotWrapper("/local/fvalenza/devel/src/pinocchio/models/romeo.urdf",list_py, se3.JointModelFreeFlyer())
+romeo_model_path = os.path.abspath(os.path.join(current_file, '../models'))
+romeo_model_file = romeo_model_path + "/romeo.urdf"
+
+list_hints = [romeo_model_path,"titi"]
+robot = RobotWrapper(romeo_model_file,list_hints, se3.JointModelFreeFlyer())
 
 robot.initDisplay()
 robot.loadDisplayModel("world/pinocchio")