Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "Image generation is not available." error for regular text input #2286

Closed
3 tasks done
dariox1337 opened this issue May 20, 2024 · 6 comments
Closed
3 tasks done
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working 🐧 Linux [ISSUE] The Environment is on Linux

Comments

@dariox1337
Copy link

dariox1337 commented May 20, 2024

Environment

🐧 Linux

System

Firefox 126

Version

1.12.0-preview 'staging' (c52bdb9)

Desktop Information

node v22.1.0, OpenAI, Staging, gpt4o

Describe the problem

I tried to attach a pdf to my message and got this error "Image generation is not available. Check your settings and try again."
After some testing, I narrowed the error to this block of text:

These features make our method quite simple, relatively easy to implement and, at the same time, effective. We have partially implemented our algorithm on GPU. However, the resulting speed is only comparable to our CPU implementation. As many other GPU algorithms, the bottle- neck is the data transfer between CPU and GPU. In the fu- ture, we plan to fully implement our algorithm on GPU. We believe that our algorithm will benefit from the improvement on the bus bandwidth between CPU and GPU. Acknowledgments The authors wish to thank the reviewers for their helpful comments. We would also like to thank Pei-Lun Lee for his help on generating Hermite data from polygonal meshes, and Li-Jung Chiu for narrating our video. This work was par- tially supported by the CIET-NTU(MOE) and National Sci- ence Council of Taiwan under NSC93-2622-E-002-033 and NSC93-2752-E-002-007-PAE. References [BKZ01] B IERMANN H., K RISTJANSSON D., Z ORIN D.: Approximate boolean operations on free-form solids. In Proc. of ACM SIGGRAPH 2001 (2001), pp. 185–194. [Che95] C HERNYAEV E.: Marching Cubes 33: Construc- tion of Topologically Correct Isosurfaces . Tech. Rep. CN/95-17, CERN, 1995. [Gib98] G IBSON S. F. F.: Using distance maps for ac- curate surface representation in sampled volumes. In Proc. of Symposium on Volume Visualization 1998 (1998), pp. 23–30. [HSE99] H EIDRICH W., S EIDEL R. W. H.-P., E RTL T.: Real-time exploration of regular volume data by adaptive reconstruction of iso-surfaces. The Visual Computer 15 , 2 (1999), 100–111. [JLSW02] J U T., L OSASSO F., S CHAEFER S., W ARREN J.: Dual contouring of hermite data. In Proc. of ACM SIGGRAPH 2002 (2002), pp. 339–346. [KBSS01] K OBBELT L. P., B OTSCH M., S CHWANECKE U., S EIDEL H.-P.: Feature sensitive surface extraction from volume data. In Proc. of ACM SIGGRAPH 2001 (2001), pp. 57–66. [LB03] L OPES A., B RODLIE K.: Improving the robust- ness and accuracy of the marching cubes algorithm for isosurfacing. IEEE Transactions on Visualization & Com- puter Graphics 9 , 1 (2003), 16–29. [LC87] L ORENSEN W. E., C LINE H. E.: Marching cubes: A high resolution 3d surface construction algorithm. In Proc. of ACM SIGGRAPH 1987 (1987), pp. 163–169. [LLVT03] L EWINER T., L OPES H., V IEIRA A. W., T AVARES G.: Efficient implementation of marching cubes’ cases with topological guarantees. Journal of Graphics Tools 8 , 2 (2003), 1–15. [Nat94] N ATARAJAN B. K.: On generating topologically consistent isosurfaces from uniform samples. The Visual Computer 11 , 1 (1994), 52–62. [NH91] N IELSON G. M., H AMANN B.: The asymptotic decider: resolving the ambiguity in marching cubes. In Proc. of IEEE Visualization 1991 (1991), pp. 83–91. [Nie03] N IELSON G. M.: On marching cubes. IEEE Transactions on Visualization & Computer Graphics 9 , 3 (2003), 283–297. [RK02] R ODEHORST M. J., K IMIA B. B.: Sub- voxel polygonization of discrete implicit surfaces us- ing ENO interpolation. unpublished manuscript, http://www.lems.brown.edu/ ∼ mjr/paper.pdf, 2002. [SCK95] S HU R., C HEN Z., K ANKANHALLI M. S.: Adaptive marching cubes. The Visual Computer 11 , 4 (1995), 202–217. [SFYC96] S HEKHAR R., F AYYAD E., Y AGEL R., C ORN - HILL J. F.: Octree-based decimation of marching cubes surfaces. In Proc. of IEEE Visualization 1996 (1996), pp. 335–342. [SKS97] S IDDIQI K., K IMIA B. B., S HU C.-W.: Ge- ometric shock-capturing ENO schemes for subpixel in- terpolation, computation and curve evolution. Graphical Models and Image Processing 59 , 5 (1997), 278–301.

Posting it even in an empty chat gives me the same error "Image generation is not available. Check your settings and try again." Surprisingly, removing just the first or the last sentence removes the error.

Additional info

If you want to try the full pdf, here it is: https://www.csie.ntu.edu.tw/~cyy/publications/papers/Ho2005CMS.pdf

Please tick the boxes

@dariox1337 dariox1337 added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label May 20, 2024
@github-actions github-actions bot added the 🐧 Linux [ISSUE] The Environment is on Linux label May 20, 2024
@Cohee1207
Copy link
Member

Could it be something that accidentally triggers an interactive mode for the Image Generation extension?
https://docs.sillytavern.app/extensions/stable-diffusion/#interactive-mode

@Cohee1207
Copy link
Member

Quick debugging shows that it was a combination of the words "make" followed by "image" where "processing 59 , 5 (1997), 278–301." is the subject, that triggered the interactive image generation.

@Cohee1207
Copy link
Member

Added a new requirement: not more than 10 characters between a verb and a noun for the image trigger. Thanks.

@dariox1337
Copy link
Author

I see! I forgot that I had "Interactive mode" enabled. Maybe you could add a reminder in this error "Image generation is not available. Check your settings and try again."

@Cohee1207
Copy link
Member

Well, the error is generic and already points to the plugin. I worry that adding additional toasts on an image generation trigger would be a distraction from the whole "interactiveness" of it.

@dariox1337
Copy link
Author

Alright. I guess it's closed, then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working 🐧 Linux [ISSUE] The Environment is on Linux
Projects
None yet
Development

No branches or pull requests

2 participants