Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
faaf598
1
Parent(s):
fc0af52
main.py
CHANGED
|
@@ -285,6 +285,8 @@ def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List
|
|
| 285 |
#prompt = ''
|
| 286 |
#prompt = "1~1 0~0 0~0 0~0 0~0 0~0 0~0 0~0"
|
| 287 |
print(prompt)
|
|
|
|
|
|
|
| 288 |
|
| 289 |
# Generate the next frame
|
| 290 |
new_frame = sample_frame(model, prompt, image_sequence_tensor, pos_maps=pos_maps, leftclick_maps=leftclick_maps)
|
|
|
|
| 285 |
#prompt = ''
|
| 286 |
#prompt = "1~1 0~0 0~0 0~0 0~0 0~0 0~0 0~0"
|
| 287 |
print(prompt)
|
| 288 |
+
prompt = prompt.replace('L', 'N')
|
| 289 |
+
print ('changing L to N')
|
| 290 |
|
| 291 |
# Generate the next frame
|
| 292 |
new_frame = sample_frame(model, prompt, image_sequence_tensor, pos_maps=pos_maps, leftclick_maps=leftclick_maps)
|