ldhldh commited on
Commit
e99c532
·
1 Parent(s): cf7a07e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from google_trans_new import google_translator
8
  import requests, os
9
 
10
  gradio_client = GrClient(os.environ.get('GrClient_url'))
11
- translator = google_translator(service_urls=['translate.google.com'])
12
  # Monkey patch
13
  def get_types(cls_set: List[Type], component: str):
14
  docset = []
 
8
  import requests, os
9
 
10
  gradio_client = GrClient(os.environ.get('GrClient_url'))
11
+ translator = google_translator()
12
  # Monkey patch
13
  def get_types(cls_set: List[Type], component: str):
14
  docset = []