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()`.