Spaces:
Runtime error
Runtime error
Update DummyModel.py
Browse files- DummyModel.py +4 -1
DummyModel.py
CHANGED
@@ -7,4 +7,7 @@ class DummyModel(torch.nn.Module):
|
|
7 |
super().__init__()
|
8 |
|
9 |
def forward(self, x):
|
10 |
-
return 1
|
|
|
|
|
|
|
|
7 |
super().__init__()
|
8 |
|
9 |
def forward(self, x):
|
10 |
+
return 1
|
11 |
+
|
12 |
+
def __call__(self, x):
|
13 |
+
return self.forward(x)
|