Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -118,8 +118,8 @@ prompt = ChatPromptTemplate.from_messages([("system", system), ("human", human)]
|
|
118 |
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 |
-
|
123 |
|
124 |
# Print the Response.
|
125 |
# print(response.content)
|
|
|
118 |
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 DUTCH" + text_to_transcribe}) # JB TRANSLATE TO DUTCH
|
123 |
|
124 |
# Print the Response.
|
125 |
# print(response.content)
|