TensorStack-AI / OnnxStack

C# Stable Diffusion using ONNX Runtime
Apache License 2.0
222 stars 33 forks source link

fix: 'IStableDiffusionService' does not contain a definition for 'Models' and no accessible extension method 'Mode ls' accepting a first argument of type 'IStableDiffusionService' could be found #90

Closed kimi0230 closed 10 months ago

kimi0230 commented 10 months ago

Workaround to fix run unit test fail.

StableDiffusionTests.cs(43,38): error CS1061: 'IStableDiffusionService' does not contain a definition for 'Models' and no accessible extension method 'Mode ls' accepting a first argument of type 'IStableDiffusionService' could be found (are you missing a using directive or an assembly reference?) [C:\Users\kimi0\Desktop\ONNX\OnnxStack\OnnxStack.IntegrationTests\OnnxStack.In tegrationTests.csproj]

saddam213 commented 10 months ago

I dont think we should be changing code to fix tests

I have no intention of keeping this test updated, deleting it would be my preference