Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def main():
|
|
| 32 |
st.success("Translation:")
|
| 33 |
st.write(translation)
|
| 34 |
|
| 35 |
-
Function to translate text using GPT-3.5
|
| 36 |
def translate_text(text, input_language, output_language):
|
| 37 |
try:
|
| 38 |
response = openai.ChatCompletion.create(
|
|
|
|
| 32 |
st.success("Translation:")
|
| 33 |
st.write(translation)
|
| 34 |
|
| 35 |
+
# Function to translate text using GPT-3.5
|
| 36 |
def translate_text(text, input_language, output_language):
|
| 37 |
try:
|
| 38 |
response = openai.ChatCompletion.create(
|