alessandro trinca tornidor commited on
Commit
e601377
·
1 Parent(s): a5e4002

bug: fixed log with removed variable

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -313,10 +313,10 @@ async def index() -> FileResponse:
313
  return FileResponse(path=static_dist_folder / "index.html", media_type="text/html")
314
 
315
 
316
- app_helpers.app_logger.info(f"prepared inference_fn function:{inference_fn.__name__}, creating gradio interface...")
317
  io = get_gradio_interface_geojson(infer_lisa_gradio)
318
  app_helpers.app_logger.info(
319
- f"created gradio interface, mounting gradio app on url {VITE_GRADIO_URL} within FastAPI...")
320
  app = gr.mount_gradio_app(app, io, path=VITE_GRADIO_URL)
321
  app_helpers.app_logger.info("mounted gradio app within fastapi")
322
 
 
313
  return FileResponse(path=static_dist_folder / "index.html", media_type="text/html")
314
 
315
 
316
+ app_helpers.app_logger.info(f"creating gradio interface...")
317
  io = get_gradio_interface_geojson(infer_lisa_gradio)
318
  app_helpers.app_logger.info(
319
+ f"gradio interface created, mounting gradio app on url {VITE_GRADIO_URL} within FastAPI...")
320
  app = gr.mount_gradio_app(app, io, path=VITE_GRADIO_URL)
321
  app_helpers.app_logger.info("mounted gradio app within fastapi")
322