Update main.py
Browse files
main.py
CHANGED
@@ -157,8 +157,9 @@ def getChat(text,model,tokenizer):
|
|
157 |
f = 0
|
158 |
if tt[0][0].isdigit():
|
159 |
size_float = [float(i) for i in tt]
|
160 |
-
|
161 |
-
|
|
|
162 |
else:
|
163 |
size_str = "无"
|
164 |
|
|
|
157 |
f = 0
|
158 |
if tt[0][0].isdigit():
|
159 |
size_float = [float(i) for i in tt]
|
160 |
+
for kk in size_float:
|
161 |
+
if kk>=4:
|
162 |
+
f = 1
|
163 |
else:
|
164 |
size_str = "无"
|
165 |
|