Spaces:
Sleeping
Sleeping
Dylan
commited on
Commit
·
9bcff58
1
Parent(s):
598dcfa
max concurrency = 1
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def process_and_display(image, voice):
|
|
13 |
state = {"image": image, "voice": voice, "caption": "", "description": ""}
|
14 |
|
15 |
# Run the graph
|
16 |
-
result = graph.invoke(state)
|
17 |
|
18 |
descriptions:list[str] = result["descriptions"]
|
19 |
description = "\n---\n".join(descriptions)
|
|
|
13 |
state = {"image": image, "voice": voice, "caption": "", "description": ""}
|
14 |
|
15 |
# Run the graph
|
16 |
+
result = graph.invoke(state, max_concurrency=1)
|
17 |
|
18 |
descriptions:list[str] = result["descriptions"]
|
19 |
description = "\n---\n".join(descriptions)
|