ffreemt
commited on
Commit
•
4308240
1
Parent(s):
bc41479
Update minus prelude in time elapsed
Browse files
app.py
CHANGED
@@ -223,8 +223,8 @@ config.stop = stop
|
|
223 |
config.threads = cpu_count
|
224 |
|
225 |
try:
|
226 |
-
|
227 |
-
LLM_api = CTransformers(
|
228 |
model=model_loc,
|
229 |
model_type="llama",
|
230 |
# callbacks=[StreamingStdOutCallbackHandler(), deqcb],
|
|
|
223 |
config.threads = cpu_count
|
224 |
|
225 |
try:
|
226 |
+
raise Exception # disable api # pylint: disable=broad-exception-raised
|
227 |
+
LLM_api = CTransformers( # pylint: disable=unreachable
|
228 |
model=model_loc,
|
229 |
model_type="llama",
|
230 |
# callbacks=[StreamingStdOutCallbackHandler(), deqcb],
|