blazingbunny commited on
Commit
54723ff
·
verified ·
1 Parent(s): 263d676

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def sample_analyze_entities(text_content):
47
  )
48
 
49
  client = language_v1.LanguageServiceClient(credentials=credentials)
50
- document = {"content": text_content, "type_": language_v1.Document.Type.PLAIN_TEXT, "language": "nl"}
51
  encoding_type = language_v1.EncodingType.UTF8
52
 
53
  response = client.analyze_entities(request={"document": document, "encoding_type": encoding_type})
 
47
  )
48
 
49
  client = language_v1.LanguageServiceClient(credentials=credentials)
50
+ document = {"content": text_content, "type_": language_v1.Document.Type.PLAIN_TEXT, "language": "en"}
51
  encoding_type = language_v1.EncodingType.UTF8
52
 
53
  response = client.analyze_entities(request={"document": document, "encoding_type": encoding_type})