Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"}
|