Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -500,7 +500,7 @@ Set the environment variable `model` to change the model:
|
|
500 |
|
501 |
models = get_model_list()
|
502 |
bits = int(os.getenv("bits", 16))
|
503 |
-
model = os.getenv("model", models[
|
504 |
available_devices = os.getenv("CUDA_VISIBLE_DEVICES", "0")
|
505 |
model_path, model_name = model, model.split("/")[0]
|
506 |
if api_key:
|
|
|
500 |
|
501 |
models = get_model_list()
|
502 |
bits = int(os.getenv("bits", 16))
|
503 |
+
model = os.getenv("model", models[0])
|
504 |
available_devices = os.getenv("CUDA_VISIBLE_DEVICES", "0")
|
505 |
model_path, model_name = model, model.split("/")[0]
|
506 |
if api_key:
|