“Building Generative AI Applications with Gradio” our new short course is Live!

Exciting news! “Building Generative AI Applications with Gradio” our new short course made in collaboration with Hugging Face is now available! :hugs:

This course will equip you with the skills to build user-friendly apps and demos, so you’ll get early feedback from users without needing them to know or run any code, which is a crucial aspect when testing your models.

Share your apps with teammates, beta testers, and others on Hugging Face Spaces and save time when validating your project!

Join today for free.


what happen with the first jupyternotebook? It does not work online
it generates the following error:
{‘error’: ‘CUDA error: device-side assert triggered\nCUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.\nFor debugging consider passing CUDA_LAUNCH_BLOCKING=1.’}
However, where we could obtain the HF API KEY.


Same here - there is something wrong in the backend

1 Like

There is a way to report this issue other then the community?

Regards the 502 bad gateway issue, i was able to workaround it by restarts and clear the kernel a few times

Hi! @elirod they are already aware of this issue. It has already been reported from yesterday.

1 Like

I encountered a problem in the Image Captioning part of the course. When I tried to create an endpoint, there was no option for the image to text in the task part of the configuration.

1 Like

I have used this model prasanna2003/blip-image-captioning · Hugging Face. You can use its own API url.

The ENDPOINT_URL for image to text is a bad gateway.
API_URL = “https://vpya547xrfprbqh4.us-east-1.aws.endpoints.huggingface.cloud
Please provide the correct one.

another issue in the lab L1_NLP_tasks_with_a_simple_interface
I guess it was reported before, when we run cell [8]
this is the result.
Why this course has that problem and again where we could obtain the HF API KEY

Closing server running on port: 30850 Running on local URL: Could not create share link. Missing file: /usr/local/lib/python3.9/site-packages/gradio/frpc_linux_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_linux_amd64 2. Rename the downloaded file to: frpc_linux_amd64_v0.2 3. Move the file to this location: /usr/local/lib/python3.9/site-packages/gradio

What is the correct endpoint API url for stable diffusion?


Using the above gives me a the following error::
JSONDecodeError: Expecting value: line 1 column 1 (char 0)