Spaces:
Sleeping
Sleeping
Update connections/model.py
Browse files- connections/model.py +0 -9
connections/model.py
CHANGED
@@ -25,12 +25,3 @@ class InferencePipeline:
|
|
25 |
use_cache = True)
|
26 |
outputs = tokenizer.batch_decode(outputs)
|
27 |
return outputs
|
28 |
-
|
29 |
-
|
30 |
-
#pipeline = InferencePipeline(conf,
|
31 |
-
# api_key=keys["huggingface"],
|
32 |
-
# prompt,
|
33 |
-
# context
|
34 |
-
# )
|
35 |
-
#
|
36 |
-
#pipeline.infer(prompt)
|
|
|
25 |
use_cache = True)
|
26 |
outputs = tokenizer.batch_decode(outputs)
|
27 |
return outputs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|