Skip to content

Commit

Permalink
use proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
iMactool committed Jun 26, 2023
1 parent afb4a92 commit 2abc53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Replicate.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public function generate()
'platform' => self::$platform,
'user_prompt' => $this->prompt->userPrompt(),
'full_prompt' => $this->prompt->toString($this->inputParams),
'url' => $result['urls']['get'],
'url' => str_replace('https://api.replicate.com/v1/predictions', $this->getBaseUrl(), $result['urls']['get']),
'status' => $result['status'],
'output' => isset($result['output']) ? $result['output'] : null,
'error' => $result['error'],
Expand Down

0 comments on commit 2abc53f

Please sign in to comment.