Wytamma / guigaga

Turn Click into Clicks, Baby Simple 👶
http://guigaga.wytamma.com/
MIT License
6 stars 0 forks source link

Refactor API #2

Closed Wytamma closed 1 month ago

Wytamma commented 1 month ago

Refactor the api to be give you access to the underlying fastapi app. I don't want to have to write it like this:

app = FastAPI()
gr_app = gr.mount_gradio_app(app, InterfaceBuilder(reverse_complement).interface, path="/")
Wytamma commented 1 month ago

Refactored to GUIGAGA(app).interface. It's fine for mounting.