JBHF commited on
Commit
e648677
1 Parent(s): 34ab304

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # 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)
 
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)