Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,6 +103,7 @@ def get_vectordb(text, images, img_doc_files):
|
|
103 |
descs.append(img_doc_files[i]+"\n"+get_image_description(images[i]))
|
104 |
except:
|
105 |
descs.append("Could not generate image description due to some error")
|
|
|
106 |
print(descs[-1])
|
107 |
print()
|
108 |
|
|
|
103 |
descs.append(img_doc_files[i]+"\n"+get_image_description(images[i]))
|
104 |
except:
|
105 |
descs.append("Could not generate image description due to some error")
|
106 |
+
gr.Error("Could not generate image descriptions. Your GPU limit may have been exhausted. Please try again after an hour.")
|
107 |
print(descs[-1])
|
108 |
print()
|
109 |
|