From 7db3718445df744559a2257cb78b34d67deecf7d Mon Sep 17 00:00:00 2001 From: Mohit Pilkhan Date: Thu, 26 Sep 2024 15:34:17 +0530 Subject: [PATCH] Fix: Remove incorrect import of picolink to resolve import error When I tried to run the file as it is, I got following error - ImportError: cannot import name 'picolink' from 'fasthtml' on a closer look, I found that the "picolink" is available in "fasthtml.common". So the import error is fixed by removing the incorrect "picolink" import. --- image_classification_app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_classification_app/main.py b/image_classification_app/main.py index 257aeda..30f6532 100644 --- a/image_classification_app/main.py +++ b/image_classification_app/main.py @@ -1,4 +1,4 @@ -from fasthtml import FastHTML, picolink +from fasthtml import FastHTML from fasthtml.common import * import os, uvicorn from starlette.responses import FileResponse