Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)
|