tonic commited on
Commit
fa19078
·
1 Parent(s): 2f0d9bf
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ def process_input(image=None, file=None, audio=None, text="", translateto = "Eng
226
 
227
  response = co.generate(
228
  model='c4ai-aya',
229
- prompt=final_text_with_producetext.format(target_language=target_language),
230
  max_tokens=1024,
231
  temperature=0.5
232
  )
 
226
 
227
  response = co.generate(
228
  model='c4ai-aya',
229
+ prompt=final_text_with_producetext.format(target_language=translateto),
230
  max_tokens=1024,
231
  temperature=0.5
232
  )