We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 620e370 commit 1773631Copy full SHA for 1773631
1 file changed
api/loadModel.py
@@ -26,6 +26,9 @@
26
27
def loadModel(model_id: str, load=True, precision=None, revision=None):
28
torch_dtype = torch_dtype_from_precision(precision)
29
+ if revision == "":
30
+ revision = None
31
+
32
print(
33
"loadModel",
34
{
0 commit comments