mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-05 22:49:41 +00:00
Updated documentation (#409)
This commit is contained in:
1 parent
c10c084da4
commit
2144cfe059
15 files changed
+104
-77
No files matched your search
@@ -94,13 +94,13 @@ public sealed class ProviderValidation
|
||||
return null;
|
||||
}
|
||||
|
||||
public string? ValidatingHFInstanceProvider(HFInstanceProvider instanceProvider)
|
||||
public string? ValidatingHFInstanceProvider(HFInferenceProvider inferenceProvider)
|
||||
{
|
||||
if(this.GetProvider() is not LLMProviders.HUGGINGFACE)
|
||||
return null;
|
||||
|
||||
if (instanceProvider is HFInstanceProvider.NONE)
|
||||
return "Please select an Hugging Face instance provider.";
|
||||
if (inferenceProvider is HFInferenceProvider.NONE)
|
||||
return "Please select an Hugging Face inference provider.";
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user