ldhldh commited on
Commit
464280b
โ€ข
1 Parent(s): c736a3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,9 +4,9 @@ import inspect
4
  from gradio import routes
5
  from typing import List, Type
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):
 
4
  from gradio import routes
5
  from typing import List, Type
6
  from google_trans_new import google_translator
7
+ import requests, os
8
 
9
+ gradio_client = GrClient(os.environ.get('GrClient_url'))
10
  translator = google_translator()
11
  # Monkey patch
12
  def get_types(cls_set: List[Type], component: str):