Spaces:
Running
on
Zero
Running
on
Zero
ragavsachdeva
commited on
Commit
•
c5b10fd
1
Parent(s):
149c70c
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def read_image(image):
|
|
13 |
image = np.array(image)
|
14 |
return image
|
15 |
|
16 |
-
@spaces.GPU
|
17 |
def process_images(chapter_pages, character_bank_images, character_bank_names):
|
18 |
chapter_pages = [read_image(image) for image in chapter_pages]
|
19 |
character_bank = {
|
|
|
13 |
image = np.array(image)
|
14 |
return image
|
15 |
|
16 |
+
@spaces.GPU(duration=180)
|
17 |
def process_images(chapter_pages, character_bank_images, character_bank_names):
|
18 |
chapter_pages = [read_image(image) for image in chapter_pages]
|
19 |
character_bank = {
|