Open shivrajjadhav733 opened 1 month ago
Hi @shivrajjadhav733. There is no proxy and things should work right out of the box. Having said that, there are two types of errors that you can expect from Hugging Face:
{"error":"Model facebook/blenderbot-400M-distill is currently loading","estimated_time":29.19023895263672}
Conversation
example, you will get the error below. The reason for this is because their documentation does not reflect the actual implementation that is required to call their conversation API, hence the error below is returned. I have also raised the following post in their Discord for some help but have not gotten anything useful back. I will continue to investigate this:
{"error":" `args[0]`: {'text': 'Hi', 'past_user_inputs': [], 'generated_responses': []} have the wrong format. The should be either of type `str` or type `list`","warnings":["There was an inference error: `args[0]`: {'text': 'Hi', 'past_user_inputs': [], 'generated_responses': []} have the wrong format. The should be either of type `str` or type `list`"]}
Having said all of this, the error in your screen appears to be related with something potentially in your network. It could be because of the region you are in or a proxy/vpn that you may have. I would recommend trying to call their APIs via cURL/Postman instead and seeing if you get the same error. I would then try to check any issues with your network.
Apologies for not being able to help much more as I cannot reproduce the issue. Sorry.
Hi,
I went to example-servers folder. I used Java sample for server and UI example. I have added hugging face api key to application.properties Besides that there is no change at all to any of the codebase.
When I try to interact on UI, I get error either as operation timed out or network unreachable. Is it something related to proxy? If yes, where to set proxy. Can you share sample code?