Update app1.py
Browse files
app1.py
CHANGED
@@ -64,7 +64,7 @@ def translate_text(input_text, input_lang, output_langs):
|
|
64 |
user_prompt = f"Translate this {input_lang} text: '{input_text}' into the following languages: {', '.join(output_langs)}. Provide each translation on a separate line with the language name as a prefix."
|
65 |
|
66 |
response = groq_client.chat.completions.create(
|
67 |
-
model="
|
68 |
messages=[
|
69 |
{"role": "system", "content": system_prompt},
|
70 |
{"role": "user", "content": user_prompt}
|
|
|
64 |
user_prompt = f"Translate this {input_lang} text: '{input_text}' into the following languages: {', '.join(output_langs)}. Provide each translation on a separate line with the language name as a prefix."
|
65 |
|
66 |
response = groq_client.chat.completions.create(
|
67 |
+
model="meta-llama/llama-4-maverick-17b-128e-instruct",
|
68 |
messages=[
|
69 |
{"role": "system", "content": system_prompt},
|
70 |
{"role": "user", "content": user_prompt}
|