Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ def transcribe(microphone, file_upload):
|
|
46 |
print("Translate: ", translate)
|
47 |
translate = translate[0]["translation_text"]
|
48 |
print("Translate 2: ", translate)
|
|
|
49 |
image = image_ppl(translate).images[0]
|
50 |
print("Image: ", image)
|
51 |
image.save("text-to-image.png")
|
|
|
46 |
print("Translate: ", translate)
|
47 |
translate = translate[0]["translation_text"]
|
48 |
print("Translate 2: ", translate)
|
49 |
+
print("Building image .....")
|
50 |
image = image_ppl(translate).images[0]
|
51 |
print("Image: ", image)
|
52 |
image.save("text-to-image.png")
|