Spaces:
Runtime error
Runtime error
changed default model
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ task = left.selectbox('Choose the task: ', options=['Questions/Answers Pairs Gen
|
|
65 |
help='Choose the task you want to try out')
|
66 |
|
67 |
# Model selection
|
68 |
-
model_path = right.selectbox('', options=[k for k in ids], index=
|
69 |
model = load_model(model_path=f"model/{model_path}.ckpt")
|
70 |
right.write(model.device)
|
71 |
|
|
|
65 |
help='Choose the task you want to try out')
|
66 |
|
67 |
# Model selection
|
68 |
+
model_path = right.selectbox('', options=[k for k in ids], index=1, help='Model to use. ')
|
69 |
model = load_model(model_path=f"model/{model_path}.ckpt")
|
70 |
right.write(model.device)
|
71 |
|