deepsync commited on
Commit
5b8e278
·
verified ·
1 Parent(s): da3f641

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -68,7 +68,7 @@ ___
68
 
69
 
70
  def gemini_hindi_to_tamil(text):
71
- API_URL = os.environ.get("GEMINI_FINETUNED_ENG_HINDI_API")
72
  BEARER_TOKEN = get_google_token()
73
  headers = {
74
  "Authorization": f"Bearer {BEARER_TOKEN}",
@@ -112,8 +112,7 @@ def clean(result):
112
  return text
113
 
114
  def openai_hindi_to_tamil(text, model):
115
- prompt =
116
- f"Translate the following Hindi text into Tamil such that the meaning in unchanged. Return only the translated text: `{text}`. Output: "
117
 
118
  headers = {
119
  "Content-Type": "application/json",
 
68
 
69
 
70
  def gemini_hindi_to_tamil(text):
71
+ API_URL = os.environ.get("GEMINI_API")
72
  BEARER_TOKEN = get_google_token()
73
  headers = {
74
  "Authorization": f"Bearer {BEARER_TOKEN}",
 
112
  return text
113
 
114
  def openai_hindi_to_tamil(text, model):
115
+ prompt = f"Translate the following Hindi text into Tamil such that the meaning in unchanged. Return only the translated text: `{text}`. Output: "
 
116
 
117
  headers = {
118
  "Content-Type": "application/json",