"use server"; import { AsyncRes } from "@/lib/types"; import { NLP } from "sortug-ai"; import ServerWord from "@/zoom/ServerWord"; // import db from "../lib/db"; export async function wordAction( text: string, lang: string, ): Promise { console.log(""); return ServerWord({ word: text, lang }); } // export async function ocrAction(file: File): AsyncRes { // const res = await NLP.ocr(file); // return res; // }