Spaces:
Running
Running
update model
Browse files- app/actions/roast.ts +2 -1
app/actions/roast.ts
CHANGED
@@ -7,7 +7,7 @@ import { formatInformations, transformForInference } from "@/utils/roast";
|
|
7 |
import { FormProps } from "@/components/form";
|
8 |
import prisma from "@/utils/prisma";
|
9 |
|
10 |
-
const MODEL_ID = "meta-llama/
|
11 |
|
12 |
export async function roast({ username, language }: FormProps) {
|
13 |
const userResponse = await fetch(
|
@@ -60,6 +60,7 @@ export async function roast({ username, language }: FormProps) {
|
|
60 |
modelsLikes,
|
61 |
collectionsUpvotes
|
62 |
);
|
|
|
63 |
const chat = transformForInference(
|
64 |
datas,
|
65 |
language,
|
|
|
7 |
import { FormProps } from "@/components/form";
|
8 |
import prisma from "@/utils/prisma";
|
9 |
|
10 |
+
const MODEL_ID = "meta-llama/Llama-3.3-70B-Instruct";
|
11 |
|
12 |
export async function roast({ username, language }: FormProps) {
|
13 |
const userResponse = await fetch(
|
|
|
60 |
modelsLikes,
|
61 |
collectionsUpvotes
|
62 |
);
|
63 |
+
|
64 |
const chat = transformForInference(
|
65 |
datas,
|
66 |
language,
|