vbcalinao commited on
Commit
11c24b4
1 Parent(s): 5dc3661

Welcome message.

Browse files
Files changed (1) hide show
  1. CodingAssistant/router.py +1 -1
CodingAssistant/router.py CHANGED
@@ -46,7 +46,7 @@ app.add_middleware(
46
 
47
  @app.get("/", tags=["Home"])
48
  def api_home():
49
- return {'detail': 'Welcome!'}
50
 
51
  @app.post("/api/generate", summary="Generate text from prompt", tags=["Generate"], response_model=Generate)
52
  def inference(input_prompt: str):
 
46
 
47
  @app.get("/", tags=["Home"])
48
  def api_home():
49
+ return {'detail': 'Welcome! This is your Coding Assistant. If you are in the Hugging Face interface, please go to the direct link, https://vbcalinao-theattic-clm-codingassistant.hf.space/docs and try out /api/generate!'}
50
 
51
  @app.post("/api/generate", summary="Generate text from prompt", tags=["Generate"], response_model=Generate)
52
  def inference(input_prompt: str):