Spaces:
Sleeping
Sleeping
Infinitode Pty Ltd
commited on
Update app.py
Browse files
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
|