Gianpaolo Macario commited on
Commit
7f3b9ae
·
1 Parent(s): 9d51e99

refactor: rename welcome endpoint to welcome_gradio2 for clarity

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -521,7 +521,7 @@ async def welcome() -> dict:
521
 
522
 
523
  @app.get("/gradio2")
524
- async def welcome() -> dict:
525
  return { "message": "Hello gradio2"}
526
 
527
 
 
521
 
522
 
523
  @app.get("/gradio2")
524
+ async def welcome_gradio2() -> dict:
525
  return { "message": "Hello gradio2"}
526
 
527