Spaces:
Paused
Paused
fix title
Browse files
app.py
CHANGED
@@ -117,11 +117,11 @@ def list_s3_files(bucket_name, folder):
|
|
117 |
print('Has titulo, ready to create image!')
|
118 |
print('Start creating image.. %s ' % s3image)
|
119 |
title = metadata['titulo']
|
|
|
120 |
else:
|
121 |
print('There is NOT resume, skipping..')
|
122 |
|
123 |
sleep(500/1000)
|
124 |
-
text_to_image(title, filename, AWS_ACCESS_KEY_ID)
|
125 |
|
126 |
|
127 |
iface = gr.Interface(fn=list_s3_files, inputs=[Textbox(label="bucket_name"), Textbox(label="folder")], outputs="text")
|
|
|
117 |
print('Has titulo, ready to create image!')
|
118 |
print('Start creating image.. %s ' % s3image)
|
119 |
title = metadata['titulo']
|
120 |
+
text_to_image(title, filename, AWS_ACCESS_KEY_ID)
|
121 |
else:
|
122 |
print('There is NOT resume, skipping..')
|
123 |
|
124 |
sleep(500/1000)
|
|
|
125 |
|
126 |
|
127 |
iface = gr.Interface(fn=list_s3_files, inputs=[Textbox(label="bucket_name"), Textbox(label="folder")], outputs="text")
|