Spaces:
Runtime error
Runtime error
Update diff.py
Browse files
diff.py
CHANGED
|
@@ -51,15 +51,15 @@ class SendIt:
|
|
| 51 |
|
| 52 |
|
| 53 |
]
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
SendIt()
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
]
|
| 54 |
+
do_it=SendIt()
|
| 55 |
|
| 56 |
+
def send_it(inputs,model_choice=5, count = 1):
|
| 57 |
+
t=0
|
| 58 |
+
output_list=[]
|
| 59 |
+
while t<int(count):
|
| 60 |
+
proc1=do_it.models2[int(model_choice)]
|
| 61 |
+
output1=proc1(inputs)
|
| 62 |
+
output_list.append(output1)
|
| 63 |
+
inputs=f"{inputs} "
|
| 64 |
+
t+=1
|
| 65 |
+
return(output_list)
|
|
|