Spaces:
Running
on
Zero
Running
on
Zero
samaonline
commited on
Commit
·
79136bd
1
Parent(s):
56dc12e
dummy function udpate
Browse files
app.py
CHANGED
@@ -163,6 +163,7 @@ def forward(model, idx, rate):
|
|
163 |
return mask, k, target, pred[0]
|
164 |
|
165 |
|
|
|
166 |
def update_interface(sample_id, sample_rate):
|
167 |
n = [None] * 6
|
168 |
if sample_id is None or sample_rate is None or sample_id not in bright_samples:
|
|
|
163 |
return mask, k, target, pred[0]
|
164 |
|
165 |
|
166 |
+
@spaces.GPU
|
167 |
def update_interface(sample_id, sample_rate):
|
168 |
n = [None] * 6
|
169 |
if sample_id is None or sample_rate is None or sample_id not in bright_samples:
|