Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def create_interface():
|
|
| 49 |
def navigate(current_state):
|
| 50 |
dataset_path = os.getenv('DATASET_PATH') # Assuming the dataset path is set in an environment variable
|
| 51 |
endpoint = os.getenv('CORRADE_ENDPOINT', '') # Ensure this environment variable is correctly set.
|
| 52 |
-
sl_navigator = SecondLifeNavigator(
|
| 53 |
action_sequence = sl_navigator.run(current_state, endpoint)
|
| 54 |
random_id = str(uuid.uuid4())
|
| 55 |
return random_id + ": " + action_sequence
|
|
|
|
| 49 |
def navigate(current_state):
|
| 50 |
dataset_path = os.getenv('DATASET_PATH') # Assuming the dataset path is set in an environment variable
|
| 51 |
endpoint = os.getenv('CORRADE_ENDPOINT', '') # Ensure this environment variable is correctly set.
|
| 52 |
+
sl_navigator = SecondLifeNavigator()
|
| 53 |
action_sequence = sl_navigator.run(current_state, endpoint)
|
| 54 |
random_id = str(uuid.uuid4())
|
| 55 |
return random_id + ": " + action_sequence
|