JBHF commited on
Commit
a26bf93
1 Parent(s): fd851ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -342,5 +342,7 @@ response = chain.invoke({"text": \
342
  # Print the Response.
343
  # print(response.content)
344
  st.write("ORIGINELE TEKST : ", text_to_transcribe)
345
- st.write("NEDERLANDSE VERTALING HIERVAN: ", response.content)
346
-
 
 
 
342
  # Print the Response.
343
  # print(response.content)
344
  st.write("ORIGINELE TEKST : ", text_to_transcribe)
345
+ if info.language != "nn":
346
+ st.write("NEDERLANDSE VERTALING HIERVAN: ", response.content)
347
+ else :
348
+ st.write("info.language: ", info.language)