Update replicate.go
This commit is contained in:
@ -27,7 +27,7 @@ func ReplicateTextGeneration(prompt string) (string, error) {
|
|||||||
Events: []replicate.WebhookEventType{"start", "completed"},
|
Events: []replicate.WebhookEventType{"start", "completed"},
|
||||||
}
|
}
|
||||||
|
|
||||||
prediction, predictionError := client.Run(context.Background(), "meta/llama-2-70b-chat:2d19859030ff705a87c746f7e96eea03aefb71f166725aee39692f1476566d48", input, &webhook)
|
prediction, predictionError := client.Run(context.Background(), "mistralai/mistral-7b-instruct-v0.2:79052a3adbba8116ebc6697dcba67ad0d58feff23e7aeb2f103fc9aa545f9269", input, &webhook)
|
||||||
|
|
||||||
if predictionError != nil {
|
if predictionError != nil {
|
||||||
return "", predictionError
|
return "", predictionError
|
||||||
|
Reference in New Issue
Block a user