AIAnytime / AIAnytime/Code-Llama-GGUF-Demo

Error when running

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
10
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

Hello Ad
I am not a programer. I downloaded one file .gguf.
I install package in file requirements.txt but when I run command py app.py then error ( as below)
Can you help me fix it? Thank a lot
PS F:\DATA\Reference\LLM\Code-Llama-GGUF-Demo-main> py app.py
Running on local URL: http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Exception in thread Thread-5 (_do_normal_analytics_request):
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\httpcore\_exceptions.py", line 10, in map_exceptions
yield
File "C:\Python311\Lib\site-packages\httpcore\_backends\sync.py", line 168, in start_tls
raise exc
File "C:\Python311\Lib\site-packages\httpcore\_backends\sync.py", line 163, in start_tls
sock = ssl_context.wrap_socket(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\ssl.py", line 1075, in _create
self.do_handshake()
File "C:\Python311\Lib\ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
TimeoutError: _ssl.c:985: The handshake operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\httpx\_transports\default.py", line 67, in map_httpcore_exceptions
yield
File "C:\Python311\Lib\site-packages\httpx\_transports\default.py", line 231, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpcore\_sync\connection_pool.py", line 268, in handle_request
raise exc
File "C:\Python311\Lib\site-packages\httpcore\_sync\connection_pool.py", line 251, in handle_request
response = connection.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpcore\_sync\connection.py", line 99, in handle_request
raise exc
File "C:\Python311\Lib\site-packages\httpcore\_sync\connection.py", line 76, in handle_request
stream = self._connect(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpcore\_sync\connection.py", line 156, in _connect
stream = stream.start_tls(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpcore\_backends\sync.py", line 152, in start_tls
with map_exceptions(exc_map):
File "C:\Python311\Lib\contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "C:\Python311\Lib\site-packages\httpcore\_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectTimeout: _ssl.c:985: The handshake operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Python311\Lib\site-packages\gradio\analytics.py", line 61, in _do_normal_analytics_request
data["ip_address"] = get_local_ip_address()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\gradio\analytics.py", line 117, in get_local_ip_address
ip_address = httpx.get(
^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_api.py", line 196, in get
return request(
^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_api.py", line 104, in request
return client.request(
^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_client.py", line 828, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_client.py", line 915, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_client.py", line 943, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_client.py", line 980, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_client.py", line 1016, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\httpx\_transports\default.py", line 230, in handle_request
with map_httpcore_exceptions():
File "C:\Python311\Lib\contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "C:\Python311\Lib\site-packages\httpx\_transports\default.py", line 84, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout: _ssl.c:985: The handshake operation timed out

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。