JBHF commited on
Commit
7c29f91
1 Parent(s): 899ee30

Update app.py

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