Spaces:
Sleeping
Sleeping
Commit
·
0a6b282
1
Parent(s):
824b2b5
update
Browse files
app.py
CHANGED
@@ -128,7 +128,10 @@ def generate(
|
|
128 |
yield r[0]
|
129 |
except:
|
130 |
print("")
|
131 |
-
|
|
|
|
|
|
|
132 |
|
133 |
decoder_output = decoder_pipeline(
|
134 |
image_embeddings=prior_output.image_embeddings,
|
@@ -297,4 +300,4 @@ with gr.Blocks(css="style.css") as demo_with_history:
|
|
297 |
# user_history.render()
|
298 |
|
299 |
if __name__ == "__main__":
|
300 |
-
demo_with_history.queue(max_size=20).launch()
|
|
|
128 |
yield r[0]
|
129 |
except:
|
130 |
print("")
|
131 |
+
try:
|
132 |
+
prior_output = r
|
133 |
+
except:
|
134 |
+
print("")
|
135 |
|
136 |
decoder_output = decoder_pipeline(
|
137 |
image_embeddings=prior_output.image_embeddings,
|
|
|
300 |
# user_history.render()
|
301 |
|
302 |
if __name__ == "__main__":
|
303 |
+
demo_with_history.queue(max_size=20).launch()
|