Spaces:
Runtime error
Runtime error
Yannic Kilcher
commited on
Commit
·
f24a6b9
1
Parent(s):
e42078a
bugfix
Browse files- interface_projector.py +2 -2
interface_projector.py
CHANGED
@@ -27,7 +27,7 @@ else:
|
|
27 |
|
28 |
def _new_forward(self, *args, **kwargs):
|
29 |
kwargs["force_fp32"] = True
|
30 |
-
return _old_forward(
|
31 |
|
32 |
G.forward = types.MethodType(_new_forward, G)
|
33 |
|
@@ -35,7 +35,7 @@ else:
|
|
35 |
|
36 |
def _new_synthesis_forward(self, *args, **kwargs):
|
37 |
kwargs["force_fp32"] = True
|
38 |
-
return _old_synthesis_forward(
|
39 |
|
40 |
G.synthesis.forward = types.MethodType(_new_synthesis_forward, G.synthesis)
|
41 |
|
|
|
27 |
|
28 |
def _new_forward(self, *args, **kwargs):
|
29 |
kwargs["force_fp32"] = True
|
30 |
+
return _old_forward(*args, **kwargs)
|
31 |
|
32 |
G.forward = types.MethodType(_new_forward, G)
|
33 |
|
|
|
35 |
|
36 |
def _new_synthesis_forward(self, *args, **kwargs):
|
37 |
kwargs["force_fp32"] = True
|
38 |
+
return _old_synthesis_forward(*args, **kwargs)
|
39 |
|
40 |
G.synthesis.forward = types.MethodType(_new_synthesis_forward, G.synthesis)
|
41 |
|