Spaces:
Sleeping
Sleeping
un-index
commited on
Commit
·
1444a8d
1
Parent(s):
182c51e
app.py
CHANGED
|
@@ -134,7 +134,7 @@ def f(context, temperature, top_p, max_length, model_idx):
|
|
| 134 |
return generated_text
|
| 135 |
# args found in the source: https://github.com/huggingface/transformers/blob/27b3031de2fb8195dec9bc2093e3e70bdb1c4bff/src/transformers/generation_tf_utils.py#L348-L376
|
| 136 |
|
| 137 |
-
# use fallback gpt-2 inference api for this as well
|
| 138 |
|
| 139 |
|
| 140 |
except Exception as e:
|
|
|
|
| 134 |
return generated_text
|
| 135 |
# args found in the source: https://github.com/huggingface/transformers/blob/27b3031de2fb8195dec9bc2093e3e70bdb1c4bff/src/transformers/generation_tf_utils.py#L348-L376
|
| 136 |
|
| 137 |
+
# TODO use fallback gpt-2 inference api for this as well
|
| 138 |
|
| 139 |
|
| 140 |
except Exception as e:
|