Upload folder using huggingface_hub
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -114,8 +114,8 @@ class EndpointHandler:
|
|
114 |
|
115 |
input_type = data.get("input_type", "text")
|
116 |
input_data = data.get("inputs", "")
|
117 |
-
|
118 |
-
|
119 |
|
120 |
if input_type == "speech":
|
121 |
audio_bytes = base64.b64decode(input_data)
|
|
|
114 |
|
115 |
input_type = data.get("input_type", "text")
|
116 |
input_data = data.get("inputs", "")
|
117 |
+
print(f"input_type: {input_type}")
|
118 |
+
print(f"input_data: {input_data}")
|
119 |
|
120 |
if input_type == "speech":
|
121 |
audio_bytes = base64.b64decode(input_data)
|