Andrei Cozma commited on
Commit
e1ecbfa
·
1 Parent(s): efbb9e7
Files changed (1) hide show
  1. demo.py +2 -1
demo.py CHANGED
@@ -325,7 +325,8 @@ with gr.Blocks(title="CS581 Demo") as demo:
325
  out_reward = gr.components.Textbox(label="Last Reward")
326
 
327
  out_image_policy = gr.components.Image(
328
- value=np.ones((16, 128)),
 
329
  label="Action Sampled vs Policy Distribution for Current State",
330
  type="numpy",
331
  image_mode="RGB",
 
325
  out_reward = gr.components.Textbox(label="Last Reward")
326
 
327
  out_image_policy = gr.components.Image(
328
+ # value=np.ones((16, 128)),
329
+ # shape=(16, 128),
330
  label="Action Sampled vs Policy Distribution for Current State",
331
  type="numpy",
332
  image_mode="RGB",