2024-07-10 11:44:38 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:44:38 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 11, in 2024-07-10 11:44:38 | ERROR | stderr | states = build_side_by_side_vision_ui_named( 2024-07-10 11:44:38 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_block_arena_vision_named.py", line 319, in build_side_by_side_vision_ui_named 2024-07-10 11:44:38 | ERROR | stderr | textbox = gr.MultimodalTextbox( 2024-07-10 11:44:38 | ERROR | stderr | AttributeError: module 'gradio' has no attribute 'MultimodalTextbox' 2024-07-10 11:44:39 | INFO | stdout | IMPORTANT: You are using gradio version 4.16.0, however version 4.29.0 is available, please upgrade. 2024-07-10 11:44:39 | INFO | stdout | -------- 2024-07-10 11:48:26 | INFO | stdout | Running on local URL: http://127.0.0.1:7860 2024-07-10 11:48:26 | INFO | stdout | 2024-07-10 11:48:26 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 11:53:22 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-10 11:53:25 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread 2024-07-10 11:53:25 | ERROR | stderr | time.sleep(0.1) 2024-07-10 11:53:25 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:53:25 | ERROR | stderr | 2024-07-10 11:53:25 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 11:53:25 | ERROR | stderr | 2024-07-10 11:53:25 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in 2024-07-10 11:53:25 | ERROR | stderr | demo.launch() 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch 2024-07-10 11:53:25 | ERROR | stderr | self.block_thread() 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread 2024-07-10 11:53:25 | ERROR | stderr | self.server.close() 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close 2024-07-10 11:53:25 | ERROR | stderr | self.thread.join(timeout=5) 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join 2024-07-10 11:53:25 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0)) 2024-07-10 11:53:25 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-10 11:53:25 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-10 11:53:25 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:53:29 | INFO | stdout | Running on local URL: http://127.0.0.1:7860 2024-07-10 11:53:29 | INFO | stdout | 2024-07-10 11:53:29 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 11:54:17 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:54:17 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:54:17 | INFO | gradio_web_server | model_name: llava-fire 2024-07-10 11:54:17 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:54:17 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:54:17 | INFO | gradio_web_server | model_name: llava-original 2024-07-10 11:56:25 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-10 11:56:27 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread 2024-07-10 11:56:27 | ERROR | stderr | time.sleep(0.1) 2024-07-10 11:56:27 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:56:27 | ERROR | stderr | 2024-07-10 11:56:27 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 11:56:27 | ERROR | stderr | 2024-07-10 11:56:27 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in 2024-07-10 11:56:27 | ERROR | stderr | demo.launch() 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch 2024-07-10 11:56:27 | ERROR | stderr | self.block_thread() 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread 2024-07-10 11:56:27 | ERROR | stderr | self.server.close() 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close 2024-07-10 11:56:27 | ERROR | stderr | self.thread.join(timeout=5) 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join 2024-07-10 11:56:27 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0)) 2024-07-10 11:56:27 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-10 11:56:27 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-10 11:56:27 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:56:32 | INFO | stdout | Running on local URL: http://127.0.0.1:7860 2024-07-10 11:56:32 | INFO | stdout | 2024-07-10 11:56:32 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 11:56:38 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:56:38 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:56:38 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 11:56:38 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:56:38 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:56:38 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 11:57:09 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-10 11:57:11 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread 2024-07-10 11:57:11 | ERROR | stderr | time.sleep(0.1) 2024-07-10 11:57:11 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:57:11 | ERROR | stderr | 2024-07-10 11:57:11 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 11:57:11 | ERROR | stderr | 2024-07-10 11:57:11 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in 2024-07-10 11:57:11 | ERROR | stderr | demo.launch() 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch 2024-07-10 11:57:11 | ERROR | stderr | self.block_thread() 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread 2024-07-10 11:57:11 | ERROR | stderr | self.server.close() 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close 2024-07-10 11:57:11 | ERROR | stderr | self.thread.join(timeout=5) 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join 2024-07-10 11:57:11 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0)) 2024-07-10 11:57:11 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-10 11:57:11 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-10 11:57:11 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:57:15 | INFO | stdout | Running on local URL: http://127.0.0.1:7860 2024-07-10 11:57:15 | INFO | stdout | 2024-07-10 11:57:15 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 11:57:23 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:57:23 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:57:23 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 11:57:23 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:57:23 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:57:23 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 11:57:23 | INFO | gradio_web_server | hello 2024-07-10 11:57:23 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/queueing.py", line 566, in process_events 2024-07-10 11:57:23 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api 2024-07-10 11:57:23 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1847, in process_api 2024-07-10 11:57:23 | ERROR | stderr | result = await self.call_function( 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1445, in call_function 2024-07-10 11:57:23 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 629, in async_iteration 2024-07-10 11:57:23 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 622, in __anext__ 2024-07-10 11:57:23 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 11:57:23 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 11:57:23 | ERROR | stderr | return await future 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 11:57:23 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 605, in run_sync_iterator_async 2024-07-10 11:57:23 | ERROR | stderr | return next(iterator) 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 788, in gen_wrapper 2024-07-10 11:57:23 | ERROR | stderr | response = next(iterator) 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_block_arena_named.py", line 282, in bot_response_multi 2024-07-10 11:57:23 | ERROR | stderr | ret = next(gen[i]) 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_web_server.py", line 582, in bot_response 2024-07-10 11:57:23 | ERROR | stderr | conv.save_new_images( 2024-07-10 11:57:23 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/conversation.py", line 608, in save_new_images 2024-07-10 11:57:23 | ERROR | stderr | from fastchat.constants import LOGDIR 2024-07-10 11:57:23 | ERROR | stderr | ModuleNotFoundError: No module named 'fastchat' 2024-07-10 11:58:13 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-10 11:58:15 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread 2024-07-10 11:58:15 | ERROR | stderr | time.sleep(0.1) 2024-07-10 11:58:15 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:58:15 | ERROR | stderr | 2024-07-10 11:58:15 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 11:58:15 | ERROR | stderr | 2024-07-10 11:58:15 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in 2024-07-10 11:58:15 | ERROR | stderr | demo.launch() 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch 2024-07-10 11:58:15 | ERROR | stderr | self.block_thread() 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread 2024-07-10 11:58:15 | ERROR | stderr | self.server.close() 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close 2024-07-10 11:58:15 | ERROR | stderr | self.thread.join(timeout=5) 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join 2024-07-10 11:58:15 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0)) 2024-07-10 11:58:15 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-10 11:58:15 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-10 11:58:15 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:58:20 | INFO | stdout | Running on local URL: http://127.0.0.1:7860 2024-07-10 11:58:20 | INFO | stdout | 2024-07-10 11:58:20 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 11:58:24 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:58:24 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:58:24 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 11:58:24 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:58:24 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:58:24 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 11:58:24 | INFO | gradio_web_server | hello 2024-07-10 11:58:24 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/queueing.py", line 566, in process_events 2024-07-10 11:58:24 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api 2024-07-10 11:58:24 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1847, in process_api 2024-07-10 11:58:24 | ERROR | stderr | result = await self.call_function( 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1445, in call_function 2024-07-10 11:58:24 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 629, in async_iteration 2024-07-10 11:58:24 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 622, in __anext__ 2024-07-10 11:58:24 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 11:58:24 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 11:58:24 | ERROR | stderr | return await future 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 11:58:24 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 605, in run_sync_iterator_async 2024-07-10 11:58:24 | ERROR | stderr | return next(iterator) 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 788, in gen_wrapper 2024-07-10 11:58:24 | ERROR | stderr | response = next(iterator) 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_block_arena_named.py", line 282, in bot_response_multi 2024-07-10 11:58:24 | ERROR | stderr | ret = next(gen[i]) 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_web_server.py", line 602, in bot_response 2024-07-10 11:58:24 | ERROR | stderr | "state": state.dict(), 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_web_server.py", line 129, in dict 2024-07-10 11:58:24 | ERROR | stderr | base = self.conv.dict() 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/conversation.py", line 685, in dict 2024-07-10 11:58:24 | ERROR | stderr | "messages": self.extract_text_and_image_hashes_from_messages(), 2024-07-10 11:58:24 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/conversation.py", line 641, in extract_text_and_image_hashes_from_messages 2024-07-10 11:58:24 | ERROR | stderr | from fastchat.utils import load_image 2024-07-10 11:58:24 | ERROR | stderr | ModuleNotFoundError: No module named 'fastchat' 2024-07-10 11:58:32 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-10 11:58:33 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread 2024-07-10 11:58:33 | ERROR | stderr | time.sleep(0.1) 2024-07-10 11:58:33 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:58:33 | ERROR | stderr | 2024-07-10 11:58:33 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 11:58:33 | ERROR | stderr | 2024-07-10 11:58:33 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in 2024-07-10 11:58:33 | ERROR | stderr | demo.launch() 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch 2024-07-10 11:58:33 | ERROR | stderr | self.block_thread() 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread 2024-07-10 11:58:33 | ERROR | stderr | self.server.close() 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close 2024-07-10 11:58:33 | ERROR | stderr | self.thread.join(timeout=5) 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join 2024-07-10 11:58:33 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0)) 2024-07-10 11:58:33 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-10 11:58:33 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-10 11:58:33 | ERROR | stderr | KeyboardInterrupt 2024-07-10 11:58:38 | INFO | stdout | Running on local URL: http://127.0.0.1:7860 2024-07-10 11:58:38 | INFO | stdout | 2024-07-10 11:58:38 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 11:58:46 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:58:46 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:58:46 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 11:58:46 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1 2024-07-10 11:58:46 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4) 2024-07-10 11:58:46 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 11:58:46 | INFO | gradio_web_server | hello 2024-07-10 11:58:46 | INFO | gradio_web_server | hello 2024-07-10 12:01:16 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-10 12:01:17 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread 2024-07-10 12:01:17 | ERROR | stderr | time.sleep(0.1) 2024-07-10 12:01:17 | ERROR | stderr | KeyboardInterrupt 2024-07-10 12:01:17 | ERROR | stderr | 2024-07-10 12:01:17 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 12:01:17 | ERROR | stderr | 2024-07-10 12:01:17 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in 2024-07-10 12:01:17 | ERROR | stderr | ) 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch 2024-07-10 12:01:17 | ERROR | stderr | self.block_thread() 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread 2024-07-10 12:01:17 | ERROR | stderr | self.server.close() 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close 2024-07-10 12:01:17 | ERROR | stderr | self.thread.join(timeout=5) 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join 2024-07-10 12:01:17 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0)) 2024-07-10 12:01:17 | ERROR | stderr | File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-10 12:01:17 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-10 12:01:17 | ERROR | stderr | KeyboardInterrupt 2024-07-10 07:18:04 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py:77: UserWarning: Using a ZeroGPU function outside of Gradio caching or request might block the app 2024-07-10 07:18:04 | ERROR | stderr | warnings.warn("Using a ZeroGPU function outside of Gradio caching or request might block the app") 2024-07-10 07:18:11 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:18:11 | INFO | stdout | 2024-07-10 07:18:11 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:18:28 | ERROR | stderr | ERROR: Exception in ASGI application 2024-07-10 07:18:28 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:18:28 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 265, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | await wrap(partial(self.listen_for_disconnect, receive)) 2024-07-10 07:18:28 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 261, in wrap 2024-07-10 07:18:28 | ERROR | stderr | await func() 2024-07-10 07:18:28 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 238, in listen_for_disconnect 2024-07-10 07:18:28 | ERROR | stderr | message = await receive() 2024-07-10 07:18:28 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 553, in receive 2024-07-10 07:18:28 | ERROR | stderr | await self.message_event.wait() 2024-07-10 07:18:28 | ERROR | stderr | File "/usr/local/lib/python3.10/asyncio/locks.py", line 214, in wait 2024-07-10 07:18:28 | ERROR | stderr | await fut 2024-07-10 07:18:28 | ERROR | stderr | asyncio.exceptions.CancelledError: Cancelled by cancel scope 7ffa672fb370 2024-07-10 07:18:28 | ERROR | stderr | 2024-07-10 07:18:28 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 07:18:28 | ERROR | stderr | 2024-07-10 07:18:28 | ERROR | stderr | + Exception Group Traceback (most recent call last): 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi 2024-07-10 07:18:28 | ERROR | stderr | | result = await app( # type: ignore[func-returns-value] 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | return await self.app(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | await super().__call__(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | await self.middleware_stack(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | raise exc 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | await self.app(scope, receive, _send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 714, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | await self.app(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:18:28 | ERROR | stderr | | raise exc 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:18:28 | ERROR | stderr | | await app(scope, receive, sender) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | await self.middleware_stack(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 776, in app 2024-07-10 07:18:28 | ERROR | stderr | | await route.handle(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle 2024-07-10 07:18:28 | ERROR | stderr | | await self.app(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 77, in app 2024-07-10 07:18:28 | ERROR | stderr | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:18:28 | ERROR | stderr | | raise exc 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:18:28 | ERROR | stderr | | await app(scope, receive, sender) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 75, in app 2024-07-10 07:18:28 | ERROR | stderr | | await response(scope, receive, send) 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 258, in __call__ 2024-07-10 07:18:28 | ERROR | stderr | | async with anyio.create_task_group() as task_group: 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 680, in __aexit__ 2024-07-10 07:18:28 | ERROR | stderr | | raise BaseExceptionGroup( 2024-07-10 07:18:28 | ERROR | stderr | | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) 2024-07-10 07:18:28 | ERROR | stderr | +-+---------------- 1 ---------------- 2024-07-10 07:18:28 | ERROR | stderr | | Traceback (most recent call last): 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 261, in wrap 2024-07-10 07:18:28 | ERROR | stderr | | await func() 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 250, in stream_response 2024-07-10 07:18:28 | ERROR | stderr | | async for chunk in self.body_iterator: 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 670, in iterator 2024-07-10 07:18:28 | ERROR | stderr | | done = [d.result() for d in done] 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 670, in 2024-07-10 07:18:28 | ERROR | stderr | | done = [d.result() for d in done] 2024-07-10 07:18:28 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 655, in stop_stream 2024-07-10 07:18:28 | ERROR | stderr | | await app.stop_event.wait() 2024-07-10 07:18:28 | ERROR | stderr | | AttributeError: 'NoneType' object has no attribute 'wait' 2024-07-10 07:18:28 | ERROR | stderr | +------------------------------------ 2024-07-10 07:19:12 | ERROR | stderr | ERROR: Exception in ASGI application 2024-07-10 07:19:12 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:19:12 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 265, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | await wrap(partial(self.listen_for_disconnect, receive)) 2024-07-10 07:19:12 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 261, in wrap 2024-07-10 07:19:12 | ERROR | stderr | await func() 2024-07-10 07:19:12 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 238, in listen_for_disconnect 2024-07-10 07:19:12 | ERROR | stderr | message = await receive() 2024-07-10 07:19:12 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 553, in receive 2024-07-10 07:19:12 | ERROR | stderr | await self.message_event.wait() 2024-07-10 07:19:12 | ERROR | stderr | File "/usr/local/lib/python3.10/asyncio/locks.py", line 214, in wait 2024-07-10 07:19:12 | ERROR | stderr | await fut 2024-07-10 07:19:12 | ERROR | stderr | asyncio.exceptions.CancelledError: Cancelled by cancel scope 7ffa696ff760 2024-07-10 07:19:12 | ERROR | stderr | 2024-07-10 07:19:12 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-10 07:19:12 | ERROR | stderr | 2024-07-10 07:19:12 | ERROR | stderr | + Exception Group Traceback (most recent call last): 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi 2024-07-10 07:19:12 | ERROR | stderr | | result = await app( # type: ignore[func-returns-value] 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | return await self.app(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | await super().__call__(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | await self.middleware_stack(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | raise exc 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | await self.app(scope, receive, _send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 714, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | await self.app(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:19:12 | ERROR | stderr | | raise exc 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:19:12 | ERROR | stderr | | await app(scope, receive, sender) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | await self.middleware_stack(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 776, in app 2024-07-10 07:19:12 | ERROR | stderr | | await route.handle(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle 2024-07-10 07:19:12 | ERROR | stderr | | await self.app(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 77, in app 2024-07-10 07:19:12 | ERROR | stderr | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:19:12 | ERROR | stderr | | raise exc 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:19:12 | ERROR | stderr | | await app(scope, receive, sender) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 75, in app 2024-07-10 07:19:12 | ERROR | stderr | | await response(scope, receive, send) 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 258, in __call__ 2024-07-10 07:19:12 | ERROR | stderr | | async with anyio.create_task_group() as task_group: 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 680, in __aexit__ 2024-07-10 07:19:12 | ERROR | stderr | | raise BaseExceptionGroup( 2024-07-10 07:19:12 | ERROR | stderr | | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) 2024-07-10 07:19:12 | ERROR | stderr | +-+---------------- 1 ---------------- 2024-07-10 07:19:12 | ERROR | stderr | | Traceback (most recent call last): 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 261, in wrap 2024-07-10 07:19:12 | ERROR | stderr | | await func() 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 250, in stream_response 2024-07-10 07:19:12 | ERROR | stderr | | async for chunk in self.body_iterator: 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 670, in iterator 2024-07-10 07:19:12 | ERROR | stderr | | done = [d.result() for d in done] 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 670, in 2024-07-10 07:19:12 | ERROR | stderr | | done = [d.result() for d in done] 2024-07-10 07:19:12 | ERROR | stderr | | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 655, in stop_stream 2024-07-10 07:19:12 | ERROR | stderr | | await app.stop_event.wait() 2024-07-10 07:19:12 | ERROR | stderr | | AttributeError: 'NoneType' object has no attribute 'wait' 2024-07-10 07:19:12 | ERROR | stderr | +------------------------------------ 2024-07-10 07:19:24 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:19:24 | ERROR | stderr | File "/home/user/app/app.py", line 18, in 2024-07-10 07:19:24 | ERROR | stderr | main() 2024-07-10 07:19:24 | ERROR | stderr | File "/home/user/app/app.py", line 15, in main 2024-07-10 07:19:24 | ERROR | stderr | demo.launch() 2024-07-10 07:19:24 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2327, in launch 2024-07-10 07:19:24 | ERROR | stderr | ) = http_server.start_server( 2024-07-10 07:19:24 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/http_server.py", line 154, in start_server 2024-07-10 07:19:24 | ERROR | stderr | raise OSError( 2024-07-10 07:19:24 | ERROR | stderr | OSError: Cannot find empty port in range: 7860-7860. You can specify a different port by setting the GRADIO_SERVER_PORT environment variable or passing the `server_port` parameter to `launch()`. 2024-07-10 07:20:37 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:20:37 | INFO | stdout | 2024-07-10 07:20:37 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:20:58 | INFO | gradio_web_server | bot_response. ip: 46.3.240.105 2024-07-10 07:20:58 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-fire&user_id=46.3.240.105 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:20:58 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 07:20:58 | INFO | gradio_web_server | bot_response. ip: 46.3.240.105 2024-07-10 07:20:58 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-original&user_id=46.3.240.105 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:20:58 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 07:20:58 | INFO | gradio_web_server | hello 2024-07-10 07:20:58 | INFO | gradio_web_server | hello 2024-07-10 07:23:46 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:23:46 | INFO | stdout | 2024-07-10 07:23:46 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:24:07 | INFO | gradio_web_server | bot_response. ip: 46.3.240.105 2024-07-10 07:24:07 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-fire&user_id=46.3.240.105 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:24:07 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 07:24:07 | INFO | gradio_web_server | bot_response. ip: 46.3.240.105 2024-07-10 07:24:07 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-original&user_id=46.3.240.105 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:24:07 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 07:24:15 | INFO | stdout | torch.Size([1, 58]) torch.Size([1, 5, 3, 336, 336]) 2024-07-10 07:24:16 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:392: UserWarning: `do_sample` is set to `False`. However, `temperature` is set to `0` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `temperature`. 2024-07-10 07:24:16 | ERROR | stderr | warnings.warn( 2024-07-10 07:24:16 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:397: UserWarning: `do_sample` is set to `False`. However, `top_p` is set to `0.9` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `top_p`. 2024-07-10 07:24:16 | ERROR | stderr | warnings.warn( 2024-07-10 07:24:22 | INFO | stdout | ["The figure in the image is a can of Södra Almighy, which is a beer. Södra is a Swedish brewery known for its lager beers. The can's design is modern and minimalist, with a color scheme that includes black and white, and the text is in English. The label indicates that it is a dry-hopped beer, which means it has been flavored with hops that have not been steeped in the brewing process, giving it a unique taste profile. The can's design suggests a contemporary and possibly craft beer, which is often associated with a more complex flavor profile than traditional lagers."] 2024-07-10 07:24:22 | INFO | gradio_web_server | hello 2024-07-10 07:24:48 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:24:48 | INFO | stdout | 2024-07-10 07:24:48 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:26:20 | INFO | gradio_web_server | bot_response. ip: 46.3.240.105 2024-07-10 07:26:20 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-fire&user_id=46.3.240.105 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:26:20 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 07:26:20 | INFO | gradio_web_server | bot_response. ip: 46.3.240.105 2024-07-10 07:26:20 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-original&user_id=46.3.240.105 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:26:20 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 07:26:28 | INFO | stdout | torch.Size([1, 58]) torch.Size([1, 5, 3, 336, 336]) 2024-07-10 07:26:29 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:392: UserWarning: `do_sample` is set to `False`. However, `temperature` is set to `0` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `temperature`. 2024-07-10 07:26:29 | ERROR | stderr | warnings.warn( 2024-07-10 07:26:29 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:397: UserWarning: `do_sample` is set to `False`. However, `top_p` is set to `0.9` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `top_p`. 2024-07-10 07:26:29 | ERROR | stderr | warnings.warn( 2024-07-10 07:26:34 | INFO | stdout | ["The figure in the image is a can of Södra Almighy, which is a beer. Södra is a Swedish brewery known for its lager beers. The can's design is modern and minimalist, with a color scheme that includes black and white, and the text is in English. The label indicates that it is a dry-hopped beer, which means it has been flavored with hops that have not been steeped in the brewing process, giving it a unique taste profile. The can's design suggests a contemporary and possibly craft beer, which is often associated with a more complex flavor profile than traditional lagers."] 2024-07-10 07:27:01 | INFO | gradio_web_server | bot_response. ip: 46.3.240.106 2024-07-10 07:27:01 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-fire&user_id=46.3.240.106 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:27:01 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None 2024-07-10 07:27:01 | INFO | gradio_web_server | bot_response. ip: 46.3.240.106 2024-07-10 07:27:01 | INFO | gradio_web_server | monitor error: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /is_limit_reached?model=llava-original&user_id=46.3.240.106 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2024-07-10 07:27:01 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None 2024-07-10 07:27:14 | INFO | stdout | torch.Size([1, 58]) torch.Size([1, 5, 3, 336, 336]) 2024-07-10 07:27:15 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:392: UserWarning: `do_sample` is set to `False`. However, `temperature` is set to `0` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `temperature`. 2024-07-10 07:27:15 | ERROR | stderr | warnings.warn( 2024-07-10 07:27:15 | ERROR | stderr | /usr/local/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:397: UserWarning: `do_sample` is set to `False`. However, `top_p` is set to `0.9` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `top_p`. 2024-07-10 07:27:15 | ERROR | stderr | warnings.warn( 2024-07-10 07:27:20 | INFO | stdout | ["The figure in the image is a can of Södra Almighy, which is a beer. Södra is a Swedish brewery known for its lager beers. The can's design is modern and minimalist, with a color scheme that includes black and white, and the text is in English. The label indicates that it is a dry-hopped beer, which means it has been flavored with hops that have not been steeped in the brewing process, giving it a unique taste profile. The can's design suggests a contemporary and possibly craft beer, which is often associated with a more complex flavor profile than traditional lagers."] 2024-07-10 07:27:20 | INFO | gradio_web_server | hello 2024-07-10 07:27:20 | INFO | gradio_web_server | The figure in the image is a can of Södra Almighy, which is a beer. Södra is a Swedish brewery known for its lager beers. The can's design is modern and minimalist, with a color scheme that includes black and white, and the text is in English. The label indicates that it is a dry-hopped beer, which means it has been flavored with hops that have not been steeped in the brewing process, giving it a unique taste profile. The can's design suggests a contemporary and possibly craft beer, which is often associated with a more complex flavor profile than traditional lagers. 2024-07-10 07:37:00 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:37:00 | INFO | stdout | 2024-07-10 07:37:00 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:37:21 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:37:21 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:37:21 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:37:21 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:37:21 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:37:21 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:37:21 | ERROR | stderr | return await future 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:37:21 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:37:21 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:37:21 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:37:21 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 168, in add_text 2024-07-10 07:37:21 | ERROR | stderr | states[i] = State(model_selectors[i], is_vision=True) 2024-07-10 07:37:21 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 115, in __init__ 2024-07-10 07:37:21 | ERROR | stderr | self.init_system_prompt(self.conv) 2024-07-10 07:37:21 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 118, in init_system_prompt 2024-07-10 07:37:21 | ERROR | stderr | system_prompt = conv.get_system_message() 2024-07-10 07:37:21 | ERROR | stderr | AttributeError: 'Conversation' object has no attribute 'get_system_message' 2024-07-10 07:37:22 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:37:22 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:37:22 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:37:22 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:37:22 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:37:22 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:37:22 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:37:22 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:37:22 | ERROR | stderr | return await future 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:37:22 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:37:22 | ERROR | stderr | return next(iterator) 2024-07-10 07:37:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:37:22 | ERROR | stderr | response = next(iterator) 2024-07-10 07:37:22 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:37:22 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:37:22 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:39:41 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:39:41 | INFO | stdout | 2024-07-10 07:39:41 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:40:22 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:40:22 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:40:22 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:40:22 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:40:22 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:40:22 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:40:22 | ERROR | stderr | return await future 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:40:22 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:40:22 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:40:22 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:40:22 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 168, in add_text 2024-07-10 07:40:22 | ERROR | stderr | states[i] = State(model_selectors[i], is_vision=True) 2024-07-10 07:40:22 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 115, in __init__ 2024-07-10 07:40:22 | ERROR | stderr | self.init_system_prompt(self.conv) 2024-07-10 07:40:22 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 126, in init_system_prompt 2024-07-10 07:40:22 | ERROR | stderr | system_prompt = system_prompt.replace("{{currentDateTime}}", current_date) 2024-07-10 07:40:22 | ERROR | stderr | AttributeError: 'Conversation' object has no attribute 'set_system_message' 2024-07-10 07:40:23 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:40:23 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:40:23 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:40:23 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:40:23 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:40:23 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:40:23 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:40:23 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:40:23 | ERROR | stderr | return await future 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:40:23 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:40:23 | ERROR | stderr | return next(iterator) 2024-07-10 07:40:23 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:40:23 | ERROR | stderr | response = next(iterator) 2024-07-10 07:40:23 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:40:23 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:40:23 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:40:40 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:40:40 | INFO | stdout | 2024-07-10 07:40:40 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:40:54 | INFO | stdout | moderating image: /tmp/gradio/405613dcd3661394aad4b9b9addbd1743365fabf/screenshot-20240708-164613.png 2024-07-10 07:40:54 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:40:54 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:40:54 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:40:54 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:40:54 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:40:54 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:40:54 | ERROR | stderr | return await future 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:40:54 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:40:54 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:40:54 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 190, in add_text 2024-07-10 07:40:54 | ERROR | stderr | text, image_flagged, csam_flag = moderate_input( 2024-07-10 07:40:54 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision.py", line 148, in moderate_input 2024-07-10 07:40:54 | ERROR | stderr | nsfw_flagged, csam_flagged = image_moderation_filter(images[0]) 2024-07-10 07:40:54 | ERROR | stderr | File "/home/user/app/src/utils.py", line 496, in image_moderation_filter 2024-07-10 07:40:54 | ERROR | stderr | nsfw_flagged = image_moderation_provider(image_bytes, "nsfw") 2024-07-10 07:40:54 | ERROR | stderr | File "/home/user/app/src/utils.py", line 478, in image_moderation_provider 2024-07-10 07:40:54 | ERROR | stderr | endpoint = os.environ["AZURE_IMG_MODERATION_ENDPOINT"] 2024-07-10 07:40:54 | ERROR | stderr | File "/usr/local/lib/python3.10/os.py", line 680, in __getitem__ 2024-07-10 07:40:54 | ERROR | stderr | raise KeyError(key) from None 2024-07-10 07:40:54 | ERROR | stderr | KeyError: 'AZURE_IMG_MODERATION_ENDPOINT' 2024-07-10 07:40:55 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:40:55 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:40:55 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:40:55 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:40:55 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:40:55 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:40:55 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:40:55 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:40:55 | ERROR | stderr | return await future 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:40:55 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:40:55 | ERROR | stderr | return next(iterator) 2024-07-10 07:40:55 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:40:55 | ERROR | stderr | response = next(iterator) 2024-07-10 07:40:55 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:40:55 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:40:55 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:43:45 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:43:45 | INFO | stdout | 2024-07-10 07:43:45 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:44:15 | INFO | stdout | moderating image: /tmp/gradio/405613dcd3661394aad4b9b9addbd1743365fabf/screenshot-20240708-164613.png 2024-07-10 07:44:15 | INFO | stdout | skip for now 2024-07-10 07:44:15 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:44:15 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:44:15 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:44:15 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:44:15 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:44:15 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:44:15 | ERROR | stderr | return await future 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:44:15 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:44:15 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:44:15 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:44:15 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 225, in add_text 2024-07-10 07:44:15 | ERROR | stderr | post_processed_text = _prepare_text_with_image( 2024-07-10 07:44:15 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 317, in _prepare_text_with_image 2024-07-10 07:44:15 | ERROR | stderr | image = state.conv.convert_image_to_base64( 2024-07-10 07:44:15 | ERROR | stderr | AttributeError: 'Conversation' object has no attribute 'convert_image_to_base64' 2024-07-10 07:44:16 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:44:16 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:44:16 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:44:16 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:44:16 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:44:16 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:44:16 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:44:16 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:44:16 | ERROR | stderr | return await future 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:44:16 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:44:16 | ERROR | stderr | return next(iterator) 2024-07-10 07:44:16 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:44:16 | ERROR | stderr | response = next(iterator) 2024-07-10 07:44:16 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:44:16 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:44:16 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:48:59 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:48:59 | INFO | stdout | 2024-07-10 07:48:59 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:49:17 | INFO | stdout | moderating image: /tmp/gradio/405613dcd3661394aad4b9b9addbd1743365fabf/screenshot-20240708-164613.png 2024-07-10 07:49:17 | INFO | stdout | skip for now 2024-07-10 07:49:17 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:49:17 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:49:17 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:49:17 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:49:17 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:49:17 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:49:17 | ERROR | stderr | return await future 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:49:17 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:49:17 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:49:17 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:49:17 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 225, in add_text 2024-07-10 07:49:17 | ERROR | stderr | post_processed_text = _prepare_text_with_image( 2024-07-10 07:49:17 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 323, in _prepare_text_with_image 2024-07-10 07:49:17 | ERROR | stderr | image = convert_image_to_base64(image, None) 2024-07-10 07:49:17 | ERROR | stderr | File "/home/user/app/src/conversation.py", line 693, in convert_image_to_base64 2024-07-10 07:49:17 | ERROR | stderr | from fastchat.utils import resize_image_and_return_image_in_bytes 2024-07-10 07:49:17 | ERROR | stderr | ModuleNotFoundError: No module named 'fastchat' 2024-07-10 07:49:19 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:49:19 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:49:19 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:49:19 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:49:19 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:49:19 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:49:19 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:49:19 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:49:19 | ERROR | stderr | return await future 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:49:19 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:49:19 | ERROR | stderr | return next(iterator) 2024-07-10 07:49:19 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:49:19 | ERROR | stderr | response = next(iterator) 2024-07-10 07:49:19 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:49:19 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:49:19 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:49:56 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:49:56 | INFO | stdout | 2024-07-10 07:49:56 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:50:30 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:50:30 | INFO | stdout | 2024-07-10 07:50:30 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:50:41 | INFO | stdout | moderating image: /tmp/gradio/405613dcd3661394aad4b9b9addbd1743365fabf/screenshot-20240708-164613.png 2024-07-10 07:50:41 | INFO | stdout | skip for now 2024-07-10 07:50:41 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:50:41 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:50:41 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:50:41 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:50:41 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:50:41 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:50:41 | ERROR | stderr | return await future 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:50:41 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:50:41 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:50:41 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 234, in add_text 2024-07-10 07:50:41 | ERROR | stderr | + [x.to_gradio_chatbot() for x in states] 2024-07-10 07:50:41 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 234, in 2024-07-10 07:50:41 | ERROR | stderr | + [x.to_gradio_chatbot() for x in states] 2024-07-10 07:50:41 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 130, in to_gradio_chatbot 2024-07-10 07:50:41 | ERROR | stderr | return self.conv.to_gradio_chatbot() 2024-07-10 07:50:41 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/llava/conversation.py", line 206, in to_gradio_chatbot 2024-07-10 07:50:41 | ERROR | stderr | msg, image, image_process_mode = msg 2024-07-10 07:50:41 | ERROR | stderr | ValueError: not enough values to unpack (expected 3, got 2) 2024-07-10 07:50:43 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:50:43 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:50:43 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:50:43 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:50:43 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:50:43 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:50:43 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:50:43 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:50:43 | ERROR | stderr | return await future 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:50:43 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:50:43 | ERROR | stderr | return next(iterator) 2024-07-10 07:50:43 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:50:43 | ERROR | stderr | response = next(iterator) 2024-07-10 07:50:43 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:50:43 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:50:43 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:55:50 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2024-07-10 07:55:50 | INFO | stdout | 2024-07-10 07:55:50 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-10 07:56:32 | INFO | stdout | moderating image: /tmp/gradio/405613dcd3661394aad4b9b9addbd1743365fabf/screenshot-20240708-164613.png 2024-07-10 07:56:33 | INFO | stdout | skip for now 2024-07-10 07:56:33 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:56:33 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:56:33 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:56:33 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function 2024-07-10 07:56:33 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:56:33 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:56:33 | ERROR | stderr | return await future 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:56:33 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 833, in wrapper 2024-07-10 07:56:33 | ERROR | stderr | response = f(*args, **kwargs) 2024-07-10 07:56:33 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 235, in add_text 2024-07-10 07:56:33 | ERROR | stderr | + [x.to_gradio_chatbot() for x in states] 2024-07-10 07:56:33 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 235, in 2024-07-10 07:56:33 | ERROR | stderr | + [x.to_gradio_chatbot() for x in states] 2024-07-10 07:56:33 | ERROR | stderr | File "/home/user/app/src/serve/gradio_web_server.py", line 130, in to_gradio_chatbot 2024-07-10 07:56:33 | ERROR | stderr | return self.conv.to_gradio_chatbot() 2024-07-10 07:56:33 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/llava/conversation.py", line 206, in to_gradio_chatbot 2024-07-10 07:56:33 | ERROR | stderr | msg, image, image_process_mode = msg 2024-07-10 07:56:33 | ERROR | stderr | ValueError: not enough values to unpack (expected 3, got 2) 2024-07-10 07:56:34 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 541, in process_events 2024-07-10 07:56:34 | ERROR | stderr | response = await route_utils.call_process_api( 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api 2024-07-10 07:56:34 | ERROR | stderr | output = await app.get_blocks().process_api( 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api 2024-07-10 07:56:34 | ERROR | stderr | result = await self.call_function( 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1526, in call_function 2024-07-10 07:56:34 | ERROR | stderr | prediction = await utils.async_iteration(iterator) 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 657, in async_iteration 2024-07-10 07:56:34 | ERROR | stderr | return await iterator.__anext__() 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in __anext__ 2024-07-10 07:56:34 | ERROR | stderr | return await anyio.to_thread.run_sync( 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:56:34 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:56:34 | ERROR | stderr | return await future 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:56:34 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 633, in run_sync_iterator_async 2024-07-10 07:56:34 | ERROR | stderr | return next(iterator) 2024-07-10 07:56:34 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in gen_wrapper 2024-07-10 07:56:34 | ERROR | stderr | response = next(iterator) 2024-07-10 07:56:34 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_named.py", line 237, in bot_response_multi 2024-07-10 07:56:34 | ERROR | stderr | if state0.skip_next: 2024-07-10 07:56:34 | ERROR | stderr | AttributeError: 'NoneType' object has no attribute 'skip_next' 2024-07-10 07:58:59 | ERROR | stderr | ERROR: Exception in ASGI application 2024-07-10 07:58:59 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 404, in main 2024-07-10 07:58:59 | ERROR | stderr | @app.get("/assets/{path:path}") 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/templating.py", line 229, in TemplateResponse 2024-07-10 07:58:59 | ERROR | stderr | template = self.get_template(name) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/templating.py", line 143, in get_template 2024-07-10 07:58:59 | ERROR | stderr | return self.env.get_template(name) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1013, in get_template 2024-07-10 07:58:59 | ERROR | stderr | return self._load_template(name, globals) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 972, in _load_template 2024-07-10 07:58:59 | ERROR | stderr | template = self.loader.load(self, name, self.make_globals(globals)) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/loaders.py", line 126, in load 2024-07-10 07:58:59 | ERROR | stderr | source, filename, uptodate = self.get_source(environment, name) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/loaders.py", line 207, in get_source 2024-07-10 07:58:59 | ERROR | stderr | raise TemplateNotFound(template) 2024-07-10 07:58:59 | ERROR | stderr | jinja2.exceptions.TemplateNotFound: frontend/index.html 2024-07-10 07:58:59 | ERROR | stderr | 2024-07-10 07:58:59 | ERROR | stderr | The above exception was the direct cause of the following exception: 2024-07-10 07:58:59 | ERROR | stderr | 2024-07-10 07:58:59 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi 2024-07-10 07:58:59 | ERROR | stderr | result = await app( # type: ignore[func-returns-value] 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | return await self.app(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await super().__call__(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await self.middleware_stack(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | raise exc 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await self.app(scope, receive, _send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 714, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | raise exc 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | await app(scope, receive, sender) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await self.middleware_stack(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 776, in app 2024-07-10 07:58:59 | ERROR | stderr | await route.handle(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle 2024-07-10 07:58:59 | ERROR | stderr | await self.app(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 77, in app 2024-07-10 07:58:59 | ERROR | stderr | await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | raise exc 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | await app(scope, receive, sender) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 72, in app 2024-07-10 07:58:59 | ERROR | stderr | response = await func(request) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app 2024-07-10 07:58:59 | ERROR | stderr | raw_response = await run_endpoint_function( 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-07-10 07:58:59 | ERROR | stderr | return await run_in_threadpool(dependant.call, **values) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-07-10 07:58:59 | ERROR | stderr | return await anyio.to_thread.run_sync(func, *args) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:58:59 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:58:59 | ERROR | stderr | return await future 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:58:59 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 419, in main 2024-07-10 07:58:59 | ERROR | stderr | async def reverse_proxy(url_path: str): 2024-07-10 07:58:59 | ERROR | stderr | ValueError: Did you install Gradio from source files? You need to build the frontend by running /scripts/build_frontend.sh 2024-07-10 07:58:59 | ERROR | stderr | ERROR: Exception in ASGI application 2024-07-10 07:58:59 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 404, in main 2024-07-10 07:58:59 | ERROR | stderr | @app.get("/assets/{path:path}") 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/templating.py", line 229, in TemplateResponse 2024-07-10 07:58:59 | ERROR | stderr | template = self.get_template(name) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/templating.py", line 143, in get_template 2024-07-10 07:58:59 | ERROR | stderr | return self.env.get_template(name) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1013, in get_template 2024-07-10 07:58:59 | ERROR | stderr | return self._load_template(name, globals) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 972, in _load_template 2024-07-10 07:58:59 | ERROR | stderr | template = self.loader.load(self, name, self.make_globals(globals)) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/loaders.py", line 126, in load 2024-07-10 07:58:59 | ERROR | stderr | source, filename, uptodate = self.get_source(environment, name) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/jinja2/loaders.py", line 207, in get_source 2024-07-10 07:58:59 | ERROR | stderr | raise TemplateNotFound(template) 2024-07-10 07:58:59 | ERROR | stderr | jinja2.exceptions.TemplateNotFound: frontend/index.html 2024-07-10 07:58:59 | ERROR | stderr | 2024-07-10 07:58:59 | ERROR | stderr | The above exception was the direct cause of the following exception: 2024-07-10 07:58:59 | ERROR | stderr | 2024-07-10 07:58:59 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi 2024-07-10 07:58:59 | ERROR | stderr | result = await app( # type: ignore[func-returns-value] 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | return await self.app(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await super().__call__(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await self.middleware_stack(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | raise exc 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await self.app(scope, receive, _send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 714, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | raise exc 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | await app(scope, receive, sender) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__ 2024-07-10 07:58:59 | ERROR | stderr | await self.middleware_stack(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 776, in app 2024-07-10 07:58:59 | ERROR | stderr | await route.handle(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle 2024-07-10 07:58:59 | ERROR | stderr | await self.app(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 77, in app 2024-07-10 07:58:59 | ERROR | stderr | await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | raise exc 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-07-10 07:58:59 | ERROR | stderr | await app(scope, receive, sender) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 72, in app 2024-07-10 07:58:59 | ERROR | stderr | response = await func(request) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app 2024-07-10 07:58:59 | ERROR | stderr | raw_response = await run_endpoint_function( 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-07-10 07:58:59 | ERROR | stderr | return await run_in_threadpool(dependant.call, **values) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-07-10 07:58:59 | ERROR | stderr | return await anyio.to_thread.run_sync(func, *args) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-07-10 07:58:59 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread( 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread 2024-07-10 07:58:59 | ERROR | stderr | return await future 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run 2024-07-10 07:58:59 | ERROR | stderr | result = context.run(func, *args) 2024-07-10 07:58:59 | ERROR | stderr | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 419, in main 2024-07-10 07:58:59 | ERROR | stderr | async def reverse_proxy(url_path: str): 2024-07-10 07:58:59 | ERROR | stderr | ValueError: Did you install Gradio from source files? You need to build the frontend by running /scripts/build_frontend.sh 2024-07-10 07:59:35 | ERROR | stderr | Traceback (most recent call last): 2024-07-10 07:59:35 | ERROR | stderr | File "/home/user/app/app.py", line 18, in 2024-07-10 07:59:35 | ERROR | stderr | main() 2024-07-10 07:59:35 | ERROR | stderr | File "/home/user/app/app.py", line 11, in main 2024-07-10 07:59:35 | ERROR | stderr | states = build_side_by_side_vision_ui_named( 2024-07-10 07:59:35 | ERROR | stderr | File "/home/user/app/src/serve/gradio_block_arena_vision_named.py", line 320, in build_side_by_side_vision_ui_named 2024-07-10 07:59:35 | ERROR | stderr | textbox = gr.MultimodalTextbox( 2024-07-10 07:59:35 | ERROR | stderr | AttributeError: module 'gradio' has no attribute 'MultimodalTextbox' 2024-07-10 07:59:36 | INFO | stdout | IMPORTANT: You are using gradio version 4.16.0, however version 4.29.0 is available, please upgrade. 2024-07-10 07:59:36 | INFO | stdout | --------