cyrilfrl commited on
Commit
af2cfcf
·
1 Parent(s): a8d0de0

testing again requirements

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-39.pyc +0 -0
  2. app.py +4 -3
__pycache__/app.cpython-39.pyc ADDED
Binary file (647 Bytes). View file
 
app.py CHANGED
@@ -28,8 +28,9 @@ def greet(request: NameRequest):
28
 
29
  # uvicorn app:app --reload
30
 
 
 
31
  # https://cyrilfrl-test.hf.space/greet
32
 
33
- # curl -X POST "https://<username>-<space_name>.hf.space/greet" \
34
- # -H "Content-Type: application/json" \
35
- # -d '{"name": "Cyril"}'
 
28
 
29
  # uvicorn app:app --reload
30
 
31
+ # git commit conventions?
32
+
33
  # https://cyrilfrl-test.hf.space/greet
34
 
35
+ # curl -X POST https://cyrilfrl-test.hf.space/greet -H "Content-Type: application/json" -d '{"name": "Cyril"}'
36
+ # curl -X POST "http://127.0.0.1:8000/greet" -H "Content-Type: application/json" -d "{\"name\": \"Cyril\"}"