jebin2 commited on
Commit
dc93f64
·
1 Parent(s): 7f0653e

url listed

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -30,7 +30,18 @@ geminiWrapper = partial(GeminiWrapper,
30
 
31
  @app.get("/")
32
  def greet_json():
33
- return {"Hello": "World!"}
 
 
 
 
 
 
 
 
 
 
 
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():