Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,9 +3,9 @@ import numpy as np, imageio, tempfile, os
|
|
| 3 |
import pybullet as p
|
| 4 |
import openai
|
| 5 |
from openai import AuthenticationError
|
| 6 |
-
from
|
| 7 |
-
from
|
| 8 |
-
from
|
| 9 |
|
| 10 |
|
| 11 |
def run_demo(api_key):
|
|
@@ -85,7 +85,7 @@ gr.Interface(
|
|
| 85 |
placeholder="sk-..."
|
| 86 |
),
|
| 87 |
outputs=["video", "text"],
|
| 88 |
-
title="
|
| 89 |
description=(
|
| 90 |
"This demo uses a PyBullet simulation of a Panda robot pushing a box against a wall. "
|
| 91 |
"After several steps, an LLM rewrites the cost function guiding the control policy."
|
|
|
|
| 3 |
import pybullet as p
|
| 4 |
import openai
|
| 5 |
from openai import AuthenticationError
|
| 6 |
+
from coral.env import BoxPushEnv
|
| 7 |
+
from coral.mppi import MPPI
|
| 8 |
+
from coral.llm_feedback import LLMFeedback
|
| 9 |
|
| 10 |
|
| 11 |
def run_demo(api_key):
|
|
|
|
| 85 |
placeholder="sk-..."
|
| 86 |
),
|
| 87 |
outputs=["video", "text"],
|
| 88 |
+
title="CoRAL: LLM-guided Box Flipping",
|
| 89 |
description=(
|
| 90 |
"This demo uses a PyBullet simulation of a Panda robot pushing a box against a wall. "
|
| 91 |
"After several steps, an LLM rewrites the cost function guiding the control policy."
|