Spaces:
Sleeping
Sleeping
un-index
commited on
Commit
·
d28ccc2
1
Parent(s):
e7e8039
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def f(context, temperature, top_p, max_length, model_idx, SPACE_VERIFICATION_KEY
|
|
| 124 |
context = get_generated_text(context)
|
| 125 |
|
| 126 |
generated_text += context
|
| 127 |
-
max_length -= 250
|
| 128 |
|
| 129 |
# payload = {"inputs": context, "parameters":{
|
| 130 |
# "max_new_tokens":max_length, "temperature":temperature, "top_p":top_p}}
|
|
|
|
| 124 |
context = get_generated_text(context)
|
| 125 |
|
| 126 |
generated_text += context
|
| 127 |
+
# max_length -= 250
|
| 128 |
|
| 129 |
# payload = {"inputs": context, "parameters":{
|
| 130 |
# "max_new_tokens":max_length, "temperature":temperature, "top_p":top_p}}
|