503 DNS Error for Gemini pro fine tuning

!pip install -q google-generativeai
 
import google.generativeai as genai

genai.configure(transport='grpc')
 
for i, m in zip(range(5), genai.list_tuned_models()):
  print(m.name)
 
When I run the above codes one by one in colab, I constantly get the following error. I would be glad if you help.
 
RetryError: Deadline of 60.0s exceeded while calling target function, last exception: 503 DNS resolution failed for http://localhost:37641: C-ares status is not ARES_SUCCESS qtype=A name=http://localhost:37641 is_balancer=0: Domain name not found

1 0 184
0 REPLIES 0