microsoft / unilm

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
https://aka.ms/GeneralAI
MIT License
19.62k stars 2.5k forks source link

[Kosmos-2] Gradio Access Error: 502 Bad Gateway #1207

Open JunZhan2000 opened 1 year ago

JunZhan2000 commented 1 year ago

Hello, thank you for your work! When I deploy Kosmos-2 locally and submit an image, Gradio throws an error:

INFO| httpx |HTTP Request: POST http://localhost:6006/api/predict "HTTP/1.1 502 Bad Gateway".

I cannot see any specific error messages, so it's difficult for me to debug. Do you know what could be causing this issue?

pengzhiliang commented 1 year ago

Hi, @guokr233 . Refer to here for detailed packages info.