severian42 / GraphRAG-Local-UI

GraphRAG using Local LLMs - Features robust API and multiple apps for Indexing/Prompt Tuning/Query/Chat/Visualizing/Etc. This is meant to be the ultimate GraphRAG/KG local LLM app.
MIT License
1.75k stars 207 forks source link

Upload file get time out response #56

Open qizhiliu0639 opened 4 months ago

qizhiliu0639 commented 4 months ago

When I run the project and try to upload file, I get the Time-out response

` Could not create share link. Missing file: D:\PycharmProjects\GraphRAG-Local-UI-main\venv\Lib\site-packages\gradio\frpc_windows_amd64_v0.2.

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:

  1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_windows_amd64.exe
  2. Rename the downloaded file to: frpc_windows_amd64_v0.2
  3. Move the file to this location: D:\PycharmProjects\GraphRAG-Local-UI-main\venv\Lib\site-packages\gradio 2024-07-24 14:07:41,904 - INFO - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 504 Gateway Time-out" 2024-07-24 14:07:48,154 - INFO - HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 504 Gateway Time-out"`
itcrazy0918 commented 4 months ago

可以参考这个:https://github.com/gradio-app/gradio/issues/3498#issuecomment-1651038942

qizhiliu0639 commented 4 months ago

可以参考这个:gradio-app/gradio#3498 (comment) 2024-07-24 16:06:44,139 - INFO - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 504 Gateway Time-out" 2024-07-24 16:06:52,332 - INFO - HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 504 Gateway Time-out"

主要是这两个Time out不知道如何处理