File size: 701 Bytes
eb5ea89
d8bbcde
eb5ea89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Design Document

## Sequence Diagram

@startuml
participant "User" as user
participant "Gradio Interface" as gradio
participant "FastAPI Router" as fastapi
participant "Google Lens API" as google_lens
participant "Django Model" as django_model

user -> gradio: Request data
gradio -> fastapi: Request data
fastapi -> google_lens: Request data
google_lens -> fastapi: Return data
fastapi -> gradio: Return data
gradio -> user: Display data
@enduml

## Design Overview

The application consists of a Gradio frontend, a FastAPI router, and a Django model. The Gradio frontend interacts with the FastAPI router, which retrieves data from the Google Lens API. The data is then stored in the Django model.