johnpaulbin commited on
Commit
253566e
·
verified ·
1 Parent(s): fbac3b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[