Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
f0ce987
1
Parent(s):
016f9e1
main.py
CHANGED
|
@@ -151,7 +151,7 @@ def _process_frame_sync(model, inputs):
|
|
| 151 |
sample = sample_latent * DATA_NORMALIZATION['std'] + DATA_NORMALIZATION['mean']
|
| 152 |
|
| 153 |
# Use time.sleep(10) here since it's in a separate thread
|
| 154 |
-
time.sleep(10)
|
| 155 |
|
| 156 |
sample = model.decode_first_stage(sample)
|
| 157 |
sample = sample.squeeze(0).clamp(-1, 1)
|
|
|
|
| 151 |
sample = sample_latent * DATA_NORMALIZATION['std'] + DATA_NORMALIZATION['mean']
|
| 152 |
|
| 153 |
# Use time.sleep(10) here since it's in a separate thread
|
| 154 |
+
#time.sleep(10)
|
| 155 |
|
| 156 |
sample = model.decode_first_stage(sample)
|
| 157 |
sample = sample.squeeze(0).clamp(-1, 1)
|