JBHF commited on
Commit
2aea58e
·
verified ·
1 Parent(s): d25187e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -119,7 +119,12 @@ chain = prompt | llm
119
 
120
  # response = chain.invoke({"text": "Write a simple code to generate Fibonacci numbers in Rust?"}) # ORIGINAL
121
  # response = chain.invoke({"text": "TRANSLATE THE FOLLOWING TEXT INTO ENGLISH" + text_to_transcribe}) # JB TRANSLATE TO ENGLISH
122
- response = chain.invoke({"text": "Translate the following text into correct Dutch language and do not use any other language for your response whatsover or you will get severly punished: " + text_to_transcribe}) # JB TRANSLATE TO DUTCH
 
 
 
 
 
123
 
124
  # Print the Response.
125
  # print(response.content)
 
119
 
120
  # response = chain.invoke({"text": "Write a simple code to generate Fibonacci numbers in Rust?"}) # ORIGINAL
121
  # response = chain.invoke({"text": "TRANSLATE THE FOLLOWING TEXT INTO ENGLISH" + text_to_transcribe}) # JB TRANSLATE TO ENGLISH
122
+ response = chain.invoke({"text": \
123
+ """Translate the following text into correct Dutch language
124
+ and do not use any other language for your response whatsover or you will get severly punished.
125
+ Do not translate names of places, towns and other geographical names.
126
+ Do not translate names of people.
127
+ """ + text_to_transcribe}) # JB TRANSLATE TO DUTCH
128
 
129
  # Print the Response.
130
  # print(response.content)