url listed
Browse files
app.py
CHANGED
|
@@ -30,7 +30,18 @@ geminiWrapper = partial(GeminiWrapper,
|
|
| 30 |
|
| 31 |
@app.get("/")
|
| 32 |
def greet_json():
|
| 33 |
-
return {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
@app.get("/breaking_news")
|
| 36 |
def breaking_news():
|
|
|
|
| 30 |
|
| 31 |
@app.get("/")
|
| 32 |
def greet_json():
|
| 33 |
+
return {
|
| 34 |
+
"available_endpoints": [
|
| 35 |
+
"http://127.0.0.1:8000/",
|
| 36 |
+
"http://127.0.0.1:8000/breaking_news",
|
| 37 |
+
"http://127.0.0.1:8000/hacker_news",
|
| 38 |
+
"http://127.0.0.1:8000/hackers_law",
|
| 39 |
+
"http://127.0.0.1:8000/pdf_crux?name=assembly",
|
| 40 |
+
"http://127.0.0.1:8000/pdf_crux?name=arm",
|
| 41 |
+
"http://127.0.0.1:8000/pdf_crux?name=cpumemory",
|
| 42 |
+
"http://127.0.0.1:8000/pdf_crux?name=c"
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
|
| 46 |
@app.get("/breaking_news")
|
| 47 |
def breaking_news():
|