ldhldh commited on
Commit
c736a3e
ยท
1 Parent(s): f33032e

Update app.py

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