Spaces:
Sleeping
Sleeping
un-index
commited on
Commit
·
0c91274
1
Parent(s):
62caa10
app.py
CHANGED
|
@@ -84,12 +84,10 @@ def get_generated_text(generated_text):
|
|
| 84 |
except:
|
| 85 |
# recursively loop through generated_text till we get the text
|
| 86 |
# don't know if this will work
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
return get_generated_text(gt)
|
| 92 |
-
# return generated_text
|
| 93 |
|
| 94 |
|
| 95 |
def f(context, temperature, top_p, max_length, model_idx, SPACE_VERIFICATION_KEY):
|
|
|
|
| 84 |
except:
|
| 85 |
# recursively loop through generated_text till we get the text
|
| 86 |
# don't know if this will work
|
| 87 |
+
|
| 88 |
+
# for i in
|
| 89 |
+
|
| 90 |
+
return generated_text
|
|
|
|
|
|
|
| 91 |
|
| 92 |
|
| 93 |
def f(context, temperature, top_p, max_length, model_idx, SPACE_VERIFICATION_KEY):
|