Hassan501 commited on
Commit
4284013
·
verified ·
1 Parent(s): 27ca92d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ else:
32
  try:
33
  # Use the model's generate_content method for translation
34
  # The prompt needs to instruct the model to perform translation
35
- prompt = f"Translate the following text into Spanish: '{text_input}'"
36
  response = model.generate_content(prompt)
37
 
38
  # Display the translated text
 
32
  try:
33
  # Use the model's generate_content method for translation
34
  # The prompt needs to instruct the model to perform translation
35
+ prompt = f"Translate the following text into Urdu: '{text_input}'"
36
  response = model.generate_content(prompt)
37
 
38
  # Display the translated text