Update app.py
Browse files
app.py
CHANGED
@@ -110,8 +110,9 @@ def CTXGen(X0, X1, X2, τ, g_num, model_name):
|
|
110 |
|
111 |
gen_length = len(input_text)
|
112 |
length = gen_length - sum(1 for x in input_text if x != '[MASK]')
|
113 |
-
|
114 |
for i in range(length):
|
|
|
115 |
if is_stopped:
|
116 |
return pd.DataFrame(), "output.csv"
|
117 |
|
|
|
110 |
|
111 |
gen_length = len(input_text)
|
112 |
length = gen_length - sum(1 for x in input_text if x != '[MASK]')
|
113 |
+
print(input_text)
|
114 |
for i in range(length):
|
115 |
+
print(i)
|
116 |
if is_stopped:
|
117 |
return pd.DataFrame(), "output.csv"
|
118 |
|