Spaces:
Runtime error
Runtime error
upd: refactored
Browse files- api_server.py +0 -10
api_server.py
CHANGED
@@ -1,13 +1,3 @@
|
|
1 |
-
# official fastapi HF example https://huggingface.co/docs/hub/spaces-sdks-docker-examples#docker-spaces-examples
|
2 |
-
|
3 |
-
##################
|
4 |
-
# Flask API usages:
|
5 |
-
# 1. Just a wrapper over OpenAI API
|
6 |
-
# 2. You can use Chain calls of OpenAI API
|
7 |
-
# 3. Using your own ML model in combination with openAPI functionality
|
8 |
-
# 4. ...
|
9 |
-
##################
|
10 |
-
|
11 |
import os
|
12 |
import time
|
13 |
import numpy as np
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import os
|
2 |
import time
|
3 |
import numpy as np
|