ka1kuk commited on
Commit
e0b6fc3
1 Parent(s): 454db78

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -4,8 +4,8 @@ app = FastAPI()
4
 
5
  @app.get("/")
6
  def read_root():
7
- return {"Hello": "World!"}
8
 
9
- @app.get("/linlada/<prompt>")
10
- def read_root(prompt):
11
  return {"Hello": prompt}
 
4
 
5
  @app.get("/")
6
  def read_root():
7
+ return "Hello, I'm Linlada"
8
 
9
+ @app.get("/linlada/{prompt}")
10
+ def read_root(prompt: str):
11
  return {"Hello": prompt}