Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
983d012
1
Parent(s):
c6c5536
Update convert.py
Browse files- convert.py +1 -0
convert.py
CHANGED
@@ -192,6 +192,7 @@ def convert(api: "HfApi", model_id: str, force: bool = False) -> Optional["Commi
|
|
192 |
else:
|
193 |
raise RuntimeError(f"Model {model_id} doesn't seem to be a valid pytorch model. Cannot convert")
|
194 |
else:
|
|
|
195 |
operations = convert_generic(model_id, folder, filenames)
|
196 |
|
197 |
if operations:
|
|
|
192 |
else:
|
193 |
raise RuntimeError(f"Model {model_id} doesn't seem to be a valid pytorch model. Cannot convert")
|
194 |
else:
|
195 |
+
print("Convert generic")
|
196 |
operations = convert_generic(model_id, folder, filenames)
|
197 |
|
198 |
if operations:
|