Update app.py
Browse files
app.py
CHANGED
|
@@ -34,6 +34,10 @@ organization = "meta-llama"
|
|
| 34 |
llama_models = [model.modelId for model in api.list_models(author=organization)
|
| 35 |
if 'chat' in model.modelId]
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
def random_ques_ans(model_ans):
|
| 38 |
df_temp=pd.read_excel(os.path.join("model_ans",str(model_ans)))
|
| 39 |
global cnt
|
|
|
|
| 34 |
llama_models = [model.modelId for model in api.list_models(author=organization)
|
| 35 |
if 'chat' in model.modelId]
|
| 36 |
|
| 37 |
+
|
| 38 |
+
ans_path = Path("model_ans")
|
| 39 |
+
ans_path.mkdir(parents=True, exist_ok=True)
|
| 40 |
+
|
| 41 |
def random_ques_ans(model_ans):
|
| 42 |
df_temp=pd.read_excel(os.path.join("model_ans",str(model_ans)))
|
| 43 |
global cnt
|