Spaces:
Runtime error
Runtime error
streetyogi
commited on
Commit
·
bb2c44a
1
Parent(s):
dde26ac
Update inference_server.py
Browse files- inference_server.py +1 -1
inference_server.py
CHANGED
@@ -21,7 +21,7 @@ def train(X):
|
|
21 |
|
22 |
@app.get("/")
|
23 |
def read_root(input_text):
|
24 |
-
logging.info("Received request with input_text: %s"
|
25 |
try:
|
26 |
result = predict(input_text)
|
27 |
logging.info("Prediction made: %s", result)
|
|
|
21 |
|
22 |
@app.get("/")
|
23 |
def read_root(input_text):
|
24 |
+
logging.info("Received request with input_text: %s", input_text)
|
25 |
try:
|
26 |
result = predict(input_text)
|
27 |
logging.info("Prediction made: %s", result)
|