Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import sys
|
|
6 |
from pathlib import Path
|
7 |
|
8 |
# read models from csv and init
|
9 |
-
models = [
|
10 |
current_model = models[0]
|
11 |
|
12 |
# pipeline and core fncn for prompt generation
|
|
|
6 |
from pathlib import Path
|
7 |
|
8 |
# read models from csv and init
|
9 |
+
models = [r for idx,r in pd.read_csv('models.csv').iterrows()]
|
10 |
current_model = models[0]
|
11 |
|
12 |
# pipeline and core fncn for prompt generation
|