Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replicate demo not working #61

Open
knuthnads opened this issue Jun 8, 2024 · 0 comments
Open

Replicate demo not working #61

knuthnads opened this issue Jun 8, 2024 · 0 comments

Comments

@knuthnads
Copy link

knuthnads commented Jun 8, 2024

Tried the Camenduru replicate demo and got the following error with the default sample input, changed nothing, all fields at their defaults:

0%|          | 0/30 [00:00<?, ?it/s]
  3%|▎         | 1/30 [00:00<00:06,  4.42it/s]
 13%|█▎        | 4/30 [00:00<00:02, 12.44it/s]
 23%|██▎       | 7/30 [00:00<00:01, 16.05it/s]
 33%|███▎      | 10/30 [00:00<00:01, 18.01it/s]
 43%|████▎     | 13/30 [00:00<00:00, 18.93it/s]
 53%|█████▎    | 16/30 [00:00<00:00, 19.73it/s]
 63%|██████▎   | 19/30 [00:01<00:00, 20.26it/s]
 73%|███████▎  | 22/30 [00:01<00:00, 20.61it/s]
 83%|████████▎ | 25/30 [00:01<00:00, 20.82it/s]
 93%|█████████▎| 28/30 [00:01<00:00, 20.97it/s]
100%|██████████| 30/30 [00:01<00:00, 18.90it/s]
  0%|          | 0/180 [00:00<?, ?it/s]
 18%|█▊        | 33/180 [00:00<00:00, 322.91it/s]
 42%|████▏     | 76/180 [00:00<00:00, 385.03it/s]
 67%|██████▋   | 121/180 [00:00<00:00, 411.88it/s]
 91%|█████████ | 164/180 [00:00<00:00, 415.46it/s]
100%|██████████| 180/180 [00:00<00:00, 408.38it/s]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/cog/server/runner.py", line 303, in _upload_files
    return self._file_uploader(output)
  File "/usr/local/lib/python3.10/site-packages/cog/server/runner.py", line 212, in file_uploader
    return upload_files(output, upload_file=upload_file)
  File "/usr/local/lib/python3.10/site-packages/cog/json.py", line 53, in upload_files
    return [upload_files(value, upload_file) for value in obj]
  File "/usr/local/lib/python3.10/site-packages/cog/json.py", line 53, in <listcomp>
    return [upload_files(value, upload_file) for value in obj]
  File "/usr/local/lib/python3.10/site-packages/cog/json.py", line 55, in upload_files
    with obj.open("rb") as f:
  File "/usr/local/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: 'workspace/gradio_output.mp4'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/cog/server/runner.py", line 359, in predict
    return _predict(
  File "/usr/local/lib/python3.10/site-packages/cog/server/runner.py", line 433, in _predict
    event_handler.set_output(event.payload)
  File "/usr/local/lib/python3.10/site-packages/cog/server/runner.py", line 246, in set_output
    self.p.output = self._upload_files(output)
  File "/usr/local/lib/python3.10/site-packages/cog/server/runner.py", line 308, in _upload_files
    raise FileUploadError("Got error trying to upload output files") from error
cog.server.runner.FileUploadError: Got error trying to upload output files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant