Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def translate_dutch_to_hindi(dutch_text, model="gpt-4o-mini"):
|
|
40 |
],
|
41 |
temperature=0.5
|
42 |
)
|
43 |
-
|
44 |
|
45 |
# OpenAI API call for Formal Hindi
|
46 |
formal_response = openai.chat.completions.create(
|
|
|
40 |
],
|
41 |
temperature=0.5
|
42 |
)
|
43 |
+
conversational_hindi = conversational_response.choices[0].message.content
|
44 |
|
45 |
# OpenAI API call for Formal Hindi
|
46 |
formal_response = openai.chat.completions.create(
|