Spaces:
Runtime error
Runtime error
ncoop57
commited on
Commit
·
caf7eff
1
Parent(s):
fb2b996
Fix bug
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ if __name__ == "__main__":
|
|
68 |
|
69 |
|
70 |
# curl request to test the API
|
71 |
-
curl -X POST "http://localhost:5000/v1/engines/codegen/completions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"prompt\": \"import numpy as np\"}"
|
72 |
|
73 |
-
curl -X POST "https://huggingface.co/spaces/ncoop57/santacoder-openai/v1/engines/codegen/completions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"prompt\": \"import numpy as np\"}"
|
74 |
|
75 |
-
curl -X POST "https://ncoop57-santacoder-openai.hf.space/v1/engines/codegen/completions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"prompt\": \"import numpy as np\"}"
|
|
|
68 |
|
69 |
|
70 |
# curl request to test the API
|
71 |
+
# curl -X POST "http://localhost:5000/v1/engines/codegen/completions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"prompt\": \"import numpy as np\"}"
|
72 |
|
73 |
+
# curl -X POST "https://huggingface.co/spaces/ncoop57/santacoder-openai/v1/engines/codegen/completions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"prompt\": \"import numpy as np\"}"
|
74 |
|
75 |
+
# curl -X POST "https://ncoop57-santacoder-openai.hf.space/v1/engines/codegen/completions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"prompt\": \"import numpy as np\"}"
|