Yescia commited on
Commit
c2af4d9
·
verified ·
1 Parent(s): ef69291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def extract_text_from_image(image, api_key):
36
 
37
 
38
 
39
- def translate_text_with_solar(english_text, api_key):
40
  """
41
  Function to translate Korean text into English (using Upstage Solar Pro API)
42
  """
@@ -51,7 +51,7 @@ def translate_text_with_solar(english_text, api_key):
51
  Below is a handwritten letter in Korean.\n
52
  {korean_text} \n
53
  Please translate it into English.\n\n
54
- Translated letter in English: "
55
  """
56
 
57
  # Call Solar LLM to perform translation
 
36
 
37
 
38
 
39
+ def translate_text_with_solar(korean_text, api_key):
40
  """
41
  Function to translate Korean text into English (using Upstage Solar Pro API)
42
  """
 
51
  Below is a handwritten letter in Korean.\n
52
  {korean_text} \n
53
  Please translate it into English.\n\n
54
+ Translated letter in English:
55
  """
56
 
57
  # Call Solar LLM to perform translation