Backend with Stable Endpoints-Runpod
Step 1:
Open the colab and download it as an .ipynb file→
Step 2:
Go to our Runpod running stable diffusion and click on the upload files button to upload the downloaded .ipynb file.
Once the file is uploaded, click on the ⏩ button to run all the cells automatically.
It will take 2-3 minutes to run all the cells. Ignore any errors related to root user as a pip environment isn’t required here.
Step 3:
We have our End point here generated by the last cell! use the public url with /ocr as endpoint suffix and plug it inside the frontend.
So here the final ocr endpoint that goes inside the frontend code will look like-
https://c57d-196-216-134-244.ngrok.io/ocr