PatrickRedStar commited on
Commit
83b4416
·
1 Parent(s): 4135d5d

Add test log file

Browse files
Files changed (1) hide show
  1. test_logs/123.log +357 -0
test_logs/123.log ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ===== Application Startup at 2026-01-09 15:15:33 =====
2
+
3
+ Running on local URL: http://0.0.0.0:7860
4
+ /usr/local/lib/python3.10/site-packages/gradio/analytics.py:106: UserWarning: IMPORTANT: You are using gradio version 4.44.0, however version 4.44.1 is available, please upgrade.
5
+ --------
6
+ warnings.warn(
7
+ ERROR: Exception in ASGI application
8
+ Traceback (most recent call last):
9
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 410, in run_asgi
10
+ result = await app( # type: ignore[func-returns-value]
11
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
12
+ return await self.app(scope, receive, send)
13
+ File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1135, in __call__
14
+ await super().__call__(scope, receive, send)
15
+ File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 107, in __call__
16
+ await self.middleware_stack(scope, receive, send)
17
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__
18
+ raise exc
19
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
20
+ await self.app(scope, receive, _send)
21
+ File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 761, in __call__
22
+ await self.app(scope, receive, send)
23
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
24
+ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
25
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
26
+ raise exc
27
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
28
+ await app(scope, receive, sender)
29
+ File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
30
+ await self.app(scope, receive, send)
31
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 716, in __call__
32
+ await self.middleware_stack(scope, receive, send)
33
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 736, in app
34
+ await route.handle(scope, receive, send)
35
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 290, in handle
36
+ await self.app(scope, receive, send)
37
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 115, in app
38
+ await wrap_app_handling_exceptions(app, request)(scope, receive, send)
39
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
40
+ raise exc
41
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
42
+ await app(scope, receive, sender)
43
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 101, in app
44
+ response = await f(request)
45
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 355, in app
46
+ raw_response = await run_endpoint_function(
47
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 245, in run_endpoint_function
48
+ return await run_in_threadpool(dependant.call, **values)
49
+ File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 32, in run_in_threadpool
50
+ return await anyio.to_thread.run_sync(func)
51
+ File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync
52
+ return await get_async_backend().run_sync_in_worker_thread(
53
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2502, in run_sync_in_worker_thread
54
+ return await future
55
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run
56
+ result = context.run(func, *args)
57
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 431, in main
58
+ gradio_api_info = api_info(False)
59
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 460, in api_info
60
+ app.api_info = app.get_blocks().get_api_info()
61
+ File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2786, in get_api_info
62
+ python_type = client_utils.json_schema_to_python_type(info)
63
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 893, in json_schema_to_python_type
64
+ type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
65
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 947, in _json_schema_to_python_type
66
+ des = [
67
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 948, in <listcomp>
68
+ f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
69
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 955, in _json_schema_to_python_type
70
+ f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
71
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 901, in _json_schema_to_python_type
72
+ type_ = get_type(schema)
73
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 863, in get_type
74
+ if "const" in schema:
75
+ TypeError: argument of type 'bool' is not iterable
76
+ ERROR: Exception in ASGI application
77
+ Traceback (most recent call last):
78
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 410, in run_asgi
79
+ result = await app( # type: ignore[func-returns-value]
80
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
81
+ return await self.app(scope, receive, send)
82
+ File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1135, in __call__
83
+ await super().__call__(scope, receive, send)
84
+ File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 107, in __call__
85
+ await self.middleware_stack(scope, receive, send)
86
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__
87
+ raise exc
88
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
89
+ await self.app(scope, receive, _send)
90
+ File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 761, in __call__
91
+ await self.app(scope, receive, send)
92
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
93
+ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
94
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
95
+ raise exc
96
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
97
+ await app(scope, receive, sender)
98
+ File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
99
+ await self.app(scope, receive, send)
100
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 716, in __call__
101
+ await self.middleware_stack(scope, receive, send)
102
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 736, in app
103
+ await route.handle(scope, receive, send)
104
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 290, in handle
105
+ await self.app(scope, receive, send)
106
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 115, in app
107
+ await wrap_app_handling_exceptions(app, request)(scope, receive, send)
108
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
109
+ raise exc
110
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
111
+ await app(scope, receive, sender)
112
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 101, in app
113
+ response = await f(request)
114
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 355, in app
115
+ raw_response = await run_endpoint_function(
116
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 245, in run_endpoint_function
117
+ return await run_in_threadpool(dependant.call, **values)
118
+ File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 32, in run_in_threadpool
119
+ return await anyio.to_thread.run_sync(func)
120
+ File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync
121
+ return await get_async_backend().run_sync_in_worker_thread(
122
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2502, in run_sync_in_worker_thread
123
+ return await future
124
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run
125
+ result = context.run(func, *args)
126
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 431, in main
127
+ gradio_api_info = api_info(False)
128
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 460, in api_info
129
+ app.api_info = app.get_blocks().get_api_info()
130
+ File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2786, in get_api_info
131
+ python_type = client_utils.json_schema_to_python_type(info)
132
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 893, in json_schema_to_python_type
133
+ type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
134
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 947, in _json_schema_to_python_type
135
+ des = [
136
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 948, in <listcomp>
137
+ f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
138
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 955, in _json_schema_to_python_type
139
+ f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
140
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 901, in _json_schema_to_python_type
141
+ type_ = get_type(schema)
142
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 863, in get_type
143
+ if "const" in schema:
144
+ TypeError: argument of type 'bool' is not iterable
145
+ ERROR: Exception in ASGI application
146
+ Traceback (most recent call last):
147
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 410, in run_asgi
148
+ result = await app( # type: ignore[func-returns-value]
149
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
150
+ return await self.app(scope, receive, send)
151
+ File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1135, in __call__
152
+ await super().__call__(scope, receive, send)
153
+ File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 107, in __call__
154
+ await self.middleware_stack(scope, receive, send)
155
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__
156
+ raise exc
157
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
158
+ await self.app(scope, receive, _send)
159
+ File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 761, in __call__
160
+ await self.app(scope, receive, send)
161
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
162
+ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
163
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
164
+ raise exc
165
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
166
+ await app(scope, receive, sender)
167
+ File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
168
+ await self.app(scope, receive, send)
169
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 716, in __call__
170
+ await self.middleware_stack(scope, receive, send)
171
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 736, in app
172
+ await route.handle(scope, receive, send)
173
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 290, in handle
174
+ await self.app(scope, receive, send)
175
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 115, in app
176
+ await wrap_app_handling_exceptions(app, request)(scope, receive, send)
177
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
178
+ raise exc
179
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
180
+ await app(scope, receive, sender)
181
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 101, in app
182
+ response = await f(request)
183
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 355, in app
184
+ raw_response = await run_endpoint_function(
185
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 245, in run_endpoint_function
186
+ return await run_in_threadpool(dependant.call, **values)
187
+ File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 32, in run_in_threadpool
188
+ return await anyio.to_thread.run_sync(func)
189
+ File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync
190
+ return await get_async_backend().run_sync_in_worker_thread(
191
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2502, in run_sync_in_worker_thread
192
+ return await future
193
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run
194
+ result = context.run(func, *args)
195
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 431, in main
196
+ gradio_api_info = api_info(False)
197
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 460, in api_info
198
+ app.api_info = app.get_blocks().get_api_info()
199
+ File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2786, in get_api_info
200
+ python_type = client_utils.json_schema_to_python_type(info)
201
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 893, in json_schema_to_python_type
202
+ type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
203
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 947, in _json_schema_to_python_type
204
+ des = [
205
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 948, in <listcomp>
206
+ f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
207
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 955, in _json_schema_to_python_type
208
+ f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
209
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 901, in _json_schema_to_python_type
210
+ type_ = get_type(schema)
211
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 863, in get_type
212
+ if "const" in schema:
213
+ TypeError: argument of type 'bool' is not iterable
214
+ ERROR: Exception in ASGI application
215
+ Traceback (most recent call last):
216
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 410, in run_asgi
217
+ result = await app( # type: ignore[func-returns-value]
218
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
219
+ return await self.app(scope, receive, send)
220
+ File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1135, in __call__
221
+ await super().__call__(scope, receive, send)
222
+ File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 107, in __call__
223
+ await self.middleware_stack(scope, receive, send)
224
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__
225
+ raise exc
226
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
227
+ await self.app(scope, receive, _send)
228
+ File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 761, in __call__
229
+ await self.app(scope, receive, send)
230
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
231
+ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
232
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
233
+ raise exc
234
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
235
+ await app(scope, receive, sender)
236
+ File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
237
+ await self.app(scope, receive, send)
238
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 716, in __call__
239
+ await self.middleware_stack(scope, receive, send)
240
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 736, in app
241
+ await route.handle(scope, receive, send)
242
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 290, in handle
243
+ await self.app(scope, receive, send)
244
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 115, in app
245
+ await wrap_app_handling_exceptions(app, request)(scope, receive, send)
246
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
247
+ raise exc
248
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
249
+ await app(scope, receive, sender)
250
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 101, in app
251
+ response = await f(request)
252
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 355, in app
253
+ raw_response = await run_endpoint_function(
254
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 245, in run_endpoint_function
255
+ return await run_in_threadpool(dependant.call, **values)
256
+ File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 32, in run_in_threadpool
257
+ return await anyio.to_thread.run_sync(func)
258
+ File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync
259
+ return await get_async_backend().run_sync_in_worker_thread(
260
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2502, in run_sync_in_worker_thread
261
+ return await future
262
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run
263
+ result = context.run(func, *args)
264
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 431, in main
265
+ gradio_api_info = api_info(False)
266
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 460, in api_info
267
+ app.api_info = app.get_blocks().get_api_info()
268
+ File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2786, in get_api_info
269
+ python_type = client_utils.json_schema_to_python_type(info)
270
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 893, in json_schema_to_python_type
271
+ type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
272
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 947, in _json_schema_to_python_type
273
+ des = [
274
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 948, in <listcomp>
275
+ f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
276
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 955, in _json_schema_to_python_type
277
+ f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
278
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 901, in _json_schema_to_python_type
279
+ type_ = get_type(schema)
280
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 863, in get_type
281
+ if "const" in schema:
282
+ TypeError: argument of type 'bool' is not iterable
283
+ ERROR: Exception in ASGI application
284
+ Traceback (most recent call last):
285
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 410, in run_asgi
286
+ result = await app( # type: ignore[func-returns-value]
287
+ File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
288
+ return await self.app(scope, receive, send)
289
+ File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1135, in __call__
290
+ await super().__call__(scope, receive, send)
291
+ File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 107, in __call__
292
+ await self.middleware_stack(scope, receive, send)
293
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__
294
+ raise exc
295
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
296
+ await self.app(scope, receive, _send)
297
+ File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 761, in __call__
298
+ await self.app(scope, receive, send)
299
+ File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
300
+ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
301
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
302
+ raise exc
303
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
304
+ await app(scope, receive, sender)
305
+ File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
306
+ await self.app(scope, receive, send)
307
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 716, in __call__
308
+ await self.middleware_stack(scope, receive, send)
309
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 736, in app
310
+ await route.handle(scope, receive, send)
311
+ File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 290, in handle
312
+ await self.app(scope, receive, send)
313
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 115, in app
314
+ await wrap_app_handling_exceptions(app, request)(scope, receive, send)
315
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
316
+ raise exc
317
+ File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
318
+ await app(scope, receive, sender)
319
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 101, in app
320
+ response = await f(request)
321
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 355, in app
322
+ raw_response = await run_endpoint_function(
323
+ File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 245, in run_endpoint_function
324
+ return await run_in_threadpool(dependant.call, **values)
325
+ File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 32, in run_in_threadpool
326
+ return await anyio.to_thread.run_sync(func)
327
+ File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync
328
+ return await get_async_backend().run_sync_in_worker_thread(
329
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2502, in run_sync_in_worker_thread
330
+ return await future
331
+ File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run
332
+ result = context.run(func, *args)
333
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 431, in main
334
+ gradio_api_info = api_info(False)
335
+ File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 460, in api_info
336
+ app.api_info = app.get_blocks().get_api_info()
337
+ File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2786, in get_api_info
338
+ python_type = client_utils.json_schema_to_python_type(info)
339
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 893, in json_schema_to_python_type
340
+ type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
341
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 947, in _json_schema_to_python_type
342
+ des = [
343
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 948, in <listcomp>
344
+ f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
345
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 955, in _json_schema_to_python_type
346
+ f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
347
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 901, in _json_schema_to_python_type
348
+ type_ = get_type(schema)
349
+ File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 863, in get_type
350
+ if "const" in schema:
351
+ TypeError: argument of type 'bool' is not iterable
352
+ Traceback (most recent call last):
353
+ File "/app/app.py", line 215, in <module>
354
+ app.launch(server_name="0.0.0.0", server_port=7860)
355
+ File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2466, in launch
356
+ raise ValueError(
357
+ ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.