RanM commited on
Commit
b10facf
·
verified ·
1 Parent(s): c07573a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,9 +45,9 @@ def generate_image(prompt):
45
 
46
  def inference(sentence_mapping, character_dict, selected_style):
47
  try:
48
- print(f"Received sentence_mapping: {sentence_mapping}")
49
- print(f"Received character_dict: {character_dict}")
50
- print(f"Received selected_style: {selected_style}")
51
 
52
  if sentence_mapping is None or character_dict is None or selected_style is None:
53
  return {"error": "One or more inputs are None"}
 
45
 
46
  def inference(sentence_mapping, character_dict, selected_style):
47
  try:
48
+ print(f"Received sentence_mapping: {sentence_mapping}, type: {type(sentence_mapping)}")
49
+ print(f"Received character_dict: {character_dict}, type: {type(character_dict)}")
50
+ print(f"Received selected_style: {selected_style}, type: {type(selected_style)}")
51
 
52
  if sentence_mapping is None or character_dict is None or selected_style is None:
53
  return {"error": "One or more inputs are None"}