Commit ·
ec92041
1
Parent(s): c9fcd53
added more information to root page
Browse files
app.py
CHANGED
|
@@ -8,7 +8,12 @@ app = FastAPI()
|
|
| 8 |
|
| 9 |
@app.get("/")
|
| 10 |
async def root():
|
| 11 |
-
return {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
class ScriptRequest(BaseModel):
|
|
|
|
| 8 |
|
| 9 |
@app.get("/")
|
| 10 |
async def root():
|
| 11 |
+
return {
|
| 12 |
+
"message": "Welcome to TrainingCourseGen! This is a tool to create generative courses for training managers.",
|
| 13 |
+
"github": "https://github.com/Zoqi-Andrew-Senior-Project/ScriboAI-Consumer",
|
| 14 |
+
"hugging_face_docs": "https://martinezjandrew-trainingcoursegen.hf.space/docs",
|
| 15 |
+
"local_host_docs": "http://localhost:8000",
|
| 16 |
+
}
|
| 17 |
|
| 18 |
|
| 19 |
class ScriptRequest(BaseModel):
|