Spaces:
Runtime error
Runtime error
Commit
·
8538649
1
Parent(s):
5f6073b
minor update
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ Once you have Codex access you can use `code-davinci-002`. Using the GPT-3 model
|
|
| 26 |
|
| 27 |
## Usage
|
| 28 |
1. Fill in the API Key, model name, and how many blocks and bowls to be spawned in the environment.
|
| 29 |
-
2. Click Setup/Reset
|
| 30 |
3. Based on the new randomly sampled object names, input an instruction and click Run Instruction. If successful, this will render a video and update the simulation environment visualization.
|
| 31 |
|
| 32 |
You can run instructions in sequence and refer back to previous instructions (e.g. do the same with other blocks, move the same block to the other bowl, etc). Click Setup/Reset Env to reset, and this will clear the current instruction history.
|
|
|
|
| 26 |
|
| 27 |
## Usage
|
| 28 |
1. Fill in the API Key, model name, and how many blocks and bowls to be spawned in the environment.
|
| 29 |
+
2. Click Setup/Reset Simulation
|
| 30 |
3. Based on the new randomly sampled object names, input an instruction and click Run Instruction. If successful, this will render a video and update the simulation environment visualization.
|
| 31 |
|
| 32 |
You can run instructions in sequence and refer back to previous instructions (e.g. do the same with other blocks, move the same block to the other bowl, etc). Click Setup/Reset Env to reset, and this will clear the current instruction history.
|
app.py
CHANGED
|
@@ -133,7 +133,7 @@ if __name__ == '__main__':
|
|
| 133 |
inp_n_blocks = gr.Slider(label='Number of Blocks', minimum=0, maximum=4, value=3, step=1)
|
| 134 |
inp_n_bowls = gr.Slider(label='Number of Bowls', minimum=0, maximum=4, value=3, step=1)
|
| 135 |
|
| 136 |
-
btn_setup = gr.Button("Setup/Reset
|
| 137 |
info_setup = gr.Markdown(label='Setup Info')
|
| 138 |
with gr.Column():
|
| 139 |
img_setup = gr.Image(label='Current Simulation')
|
|
|
|
| 133 |
inp_n_blocks = gr.Slider(label='Number of Blocks', minimum=0, maximum=4, value=3, step=1)
|
| 134 |
inp_n_bowls = gr.Slider(label='Number of Bowls', minimum=0, maximum=4, value=3, step=1)
|
| 135 |
|
| 136 |
+
btn_setup = gr.Button("Setup/Reset Simulation")
|
| 137 |
info_setup = gr.Markdown(label='Setup Info')
|
| 138 |
with gr.Column():
|
| 139 |
img_setup = gr.Image(label='Current Simulation')
|