andito HF staff commited on
Commit
effc345
1 Parent(s): 96c4257

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. 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
- console.print(f"input_type: {input_type}")
118
- console.print(f"input_data: {input_data}")
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)