Spaces:
Runtime error
Runtime error
Welcome message.
Browse files
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):
|