Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import time
|
|
11 |
import datetime
|
12 |
|
13 |
loop = asyncio.get_event_loop()
|
14 |
-
gradio_client = GrClient(os.environ.get('GrClient_url'))
|
15 |
# Monkey patch
|
16 |
def get_types(cls_set: List[Type], component: str):
|
17 |
docset = []
|
@@ -66,7 +66,7 @@ th_a.start()
|
|
66 |
def res(x, id, cdata, url):
|
67 |
global q
|
68 |
|
69 |
-
arr = [x, id, cdata.replace(",",", "), url]
|
70 |
q.put(arr)
|
71 |
|
72 |
print("\n_Done\n\n")
|
|
|
11 |
import datetime
|
12 |
|
13 |
loop = asyncio.get_event_loop()
|
14 |
+
gradio_client = GrClient(os.environ.get('GrClient_url'), serialize=False)
|
15 |
# Monkey patch
|
16 |
def get_types(cls_set: List[Type], component: str):
|
17 |
docset = []
|
|
|
66 |
def res(x, id, cdata, url):
|
67 |
global q
|
68 |
|
69 |
+
arr = [x, id, str(cdata.replace(",",", ")), url]
|
70 |
q.put(arr)
|
71 |
|
72 |
print("\n_Done\n\n")
|