Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|