Infinitode Pty Ltd commited on
Commit
782b343
·
verified ·
1 Parent(s): 14879e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def generate_random_name(interpreter, vocab_size, sp, max_length=10, temperature
34
  # Get input and output tensors
35
  input_details = interpreter.get_input_details()
36
  output_details = interpreter.get_output_details()
 
37
 
38
  if seed_text:
39
  generated_name = seed_text
 
34
  # Get input and output tensors
35
  input_details = interpreter.get_input_details()
36
  output_details = interpreter.get_output_details()
37
+ decoded_name = ''
38
 
39
  if seed_text:
40
  generated_name = seed_text