Spaces:
Runtime error
Runtime error
autonomous019
commited on
Commit
·
73a193e
1
Parent(s):
8d8bfdb
bug tracing
Browse files
app.py
CHANGED
@@ -91,18 +91,19 @@ description = "Demo for classifying images with Perceiver IO. To use it, simply
|
|
91 |
article = "<p style='text-align: center'></p>"
|
92 |
|
93 |
#gr.Interface(fn=classify_image, inputs=image, outputs=label, title=title, description=description, examples="", enable_queue=True).launch(debug=True)
|
94 |
-
|
95 |
img_info1 = gr.Interface(
|
96 |
fn=classify_image,
|
97 |
inputs=image,
|
98 |
outputs=label,
|
99 |
)
|
|
|
100 |
img_info2 = gr.Interface(
|
101 |
fn=self_caption,
|
102 |
inputs=image,
|
103 |
outputs=label,
|
104 |
)
|
105 |
-
|
106 |
Parallel(
|
107 |
img_info1,
|
108 |
img_info2,
|
|
|
91 |
article = "<p style='text-align: center'></p>"
|
92 |
|
93 |
#gr.Interface(fn=classify_image, inputs=image, outputs=label, title=title, description=description, examples="", enable_queue=True).launch(debug=True)
|
94 |
+
print("img_info1")
|
95 |
img_info1 = gr.Interface(
|
96 |
fn=classify_image,
|
97 |
inputs=image,
|
98 |
outputs=label,
|
99 |
)
|
100 |
+
print("img_info2")
|
101 |
img_info2 = gr.Interface(
|
102 |
fn=self_caption,
|
103 |
inputs=image,
|
104 |
outputs=label,
|
105 |
)
|
106 |
+
print("running parallel call")
|
107 |
Parallel(
|
108 |
img_info1,
|
109 |
img_info2,
|