crislmfroes commited on
Commit
18ca40a
·
verified ·
1 Parent(s): 7242450

Upload folder using huggingface_hub

Browse files
server/app.py CHANGED
@@ -38,7 +38,7 @@ except Exception as e: # pragma: no cover
38
  try:
39
  from ..models import FbotAgentSimAction, FbotAgentSimObservation
40
  from .fbot_agent_sim_environment import FbotAgentSimEnvironment
41
- except ModuleNotFoundError:
42
  from models import FbotAgentSimAction, FbotAgentSimObservation
43
  from server.fbot_agent_sim_environment import FbotAgentSimEnvironment
44
 
 
38
  try:
39
  from ..models import FbotAgentSimAction, FbotAgentSimObservation
40
  from .fbot_agent_sim_environment import FbotAgentSimEnvironment
41
+ except ModuleNotFoundError, ImportError:
42
  from models import FbotAgentSimAction, FbotAgentSimObservation
43
  from server.fbot_agent_sim_environment import FbotAgentSimEnvironment
44
 
server/fbot_agent_sim_environment.py CHANGED
@@ -16,7 +16,7 @@ from uuid import uuid4
16
  from openenv.core.env_server.interfaces import Environment
17
 
18
  try:
19
- from models import FbotAgentSimAction, FbotAgentSimObservation, WorldState, RobotState, Pose, Object, Person
20
  except ImportError:
21
  from models import FbotAgentSimAction, FbotAgentSimObservation
22
 
 
16
  from openenv.core.env_server.interfaces import Environment
17
 
18
  try:
19
+ from ..models import FbotAgentSimAction, FbotAgentSimObservation, WorldState, RobotState, Pose, Object, Person
20
  except ImportError:
21
  from models import FbotAgentSimAction, FbotAgentSimObservation
22