Removed gpu decorator from tutorial
Browse files
app.py
CHANGED
|
@@ -207,7 +207,7 @@ def get_ind_to_filter(text, word_ids, keywords):
|
|
| 207 |
|
| 208 |
return inds_to_filter
|
| 209 |
|
| 210 |
-
|
| 211 |
def count(image, text, prompts, state, device):
|
| 212 |
print("state: " + str(state))
|
| 213 |
keywords = "" # do not handle this for now
|
|
|
|
| 207 |
|
| 208 |
return inds_to_filter
|
| 209 |
|
| 210 |
+
#@spaces.GPU
|
| 211 |
def count(image, text, prompts, state, device):
|
| 212 |
print("state: " + str(state))
|
| 213 |
keywords = "" # do not handle this for now
|