Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def translate(direction, text):
|
|
54 |
return response['choices'][0]['text'].strip()
|
55 |
|
56 |
# Define the Gradio interface
|
57 |
-
direction_options = ["English to Spanish", "Spanish to English"]
|
58 |
iface = gr.Interface(
|
59 |
fn=translate,
|
60 |
inputs=[
|
|
|
54 |
return response['choices'][0]['text'].strip()
|
55 |
|
56 |
# Define the Gradio interface
|
57 |
+
direction_options = ["English to Spanish", "Spanish to English", "Korean to English", "English to Korean"]
|
58 |
iface = gr.Interface(
|
59 |
fn=translate,
|
60 |
inputs=[
|