Add Image models and clean up test code structure
Introduced `ImageCreate` and `Image` models to handle image-related data in the backend. Improved the organization and readability of the testing notebook by consolidating and formatting code into distinct sections with markdown cells.
This commit is contained in:
parent
303e6579cb
commit
ab6148a7e7
@ -75,7 +75,6 @@ const ResultGrid: React.FC<ResultGridProps> = ({ activePgroup }) => {
|
|||||||
const primaryImage = imageList[0];
|
const primaryImage = imageList[0];
|
||||||
// Define the base path to your backend images directory
|
// Define the base path to your backend images directory
|
||||||
|
|
||||||
const basePath = "https://localhost:8000/";
|
|
||||||
const imageUrl = basePath + primaryImage.filepath;
|
const imageUrl = basePath + primaryImage.filepath;
|
||||||
|
|
||||||
console.log("Local relative path:", imageUrl);
|
console.log("Local relative path:", imageUrl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user