Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def submit(
|
|
137 |
size_r_index = compute_resources[0].index("]")
|
138 |
size = compute_resources[0][size_l_index : size_r_index].strip()
|
139 |
|
140 |
-
type = compute_resources[-
|
141 |
|
142 |
payload = {
|
143 |
"accountId": hf_account_input.strip(),
|
|
|
137 |
size_r_index = compute_resources[0].index("]")
|
138 |
size = compute_resources[0][size_l_index : size_r_index].strip()
|
139 |
|
140 |
+
type = compute_resources[-2].strip()
|
141 |
|
142 |
payload = {
|
143 |
"accountId": hf_account_input.strip(),
|