runtime error
-------- Caching examples at: '/home/user/app/gradio_cached_examples/16/log.csv' 0 Traceback (most recent call last): File "app.py", line 67, in <module> demo = gr.Interface( File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 626, in __init__ self.examples_handler = Examples( File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 56, in create_examples utils.synchronize_async(examples_obj.create) File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 364, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 100, in sync raise return_result File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 55, in _runner result[0] = await coro File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 208, in create await self.cache_interface_examples() File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 246, in cache_interface_examples prediction = await self.predict_example(example_id) File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 263, in predict_example predictions = await anyio.to_thread.run_sync(self.fn, *processed_input) File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "app.py", line 62, in summarize text = ' '.join([summ['summary_text'] for summ in res]) File "app.py", line 62, in <listcomp> text = ' '.join([summ['summary_text'] for summ in res]) TypeError: string indices must be integers
Container logs:
Fetching error logs...