Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -405,12 +405,19 @@ def generate_30(
|
|
| 405 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 406 |
filename= f'rv_IP_{timestamp}.png'
|
| 407 |
print("-- using image file --")
|
| 408 |
-
|
| 409 |
-
print(caption_2)
|
| 410 |
caption = flatten_and_stringify(caption)
|
| 411 |
caption = " ".join(caption)
|
|
|
|
|
|
|
|
|
|
| 412 |
caption_2 = flatten_and_stringify(caption_2)
|
| 413 |
caption_2 = " ".join(caption_2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 414 |
print("-- generating further caption --")
|
| 415 |
global model5
|
| 416 |
global processor5
|
|
|
|
| 405 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 406 |
filename= f'rv_IP_{timestamp}.png'
|
| 407 |
print("-- using image file --")
|
| 408 |
+
|
|
|
|
| 409 |
caption = flatten_and_stringify(caption)
|
| 410 |
caption = " ".join(caption)
|
| 411 |
+
caption = flatten_and_stringify(caption)
|
| 412 |
+
caption = " ".join(caption)
|
| 413 |
+
|
| 414 |
caption_2 = flatten_and_stringify(caption_2)
|
| 415 |
caption_2 = " ".join(caption_2)
|
| 416 |
+
caption_2 = flatten_and_stringify(caption_2)
|
| 417 |
+
caption_2 = " ".join(caption_2)
|
| 418 |
+
print(caption)
|
| 419 |
+
print(caption_2)
|
| 420 |
+
|
| 421 |
print("-- generating further caption --")
|
| 422 |
global model5
|
| 423 |
global processor5
|