ldhldh commited on
Commit
c51b20d
โ€ข
1 Parent(s): c4b962a

Update app.py

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