tregu0458 commited on
Commit
370b629
·
verified ·
1 Parent(s): 6299828

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,4 +8,4 @@ def api_home():
8
 
9
  @app.post("/",tags=["hello"])
10
  def hello(input_prompt: str):
11
- return f"hello {input_prompt}!"
 
8
 
9
  @app.post("/",tags=["hello"])
10
  def hello(input_prompt: str):
11
+ return {'message': f"hello {input_prompt}!"}