Spaces:
Running
Running
marianna13
commited on
Commit
•
727c7a4
1
Parent(s):
659849c
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ MODEL_MAPPINGS = {
|
|
42 |
"qwen2-72b-instruct": "Qwen 2 72b",
|
43 |
"codestral-2405": "Codestral"
|
44 |
}
|
45 |
-
resp_url = 'https://github.com/LAION-AI/AIW/raw/main/collected_responses/responses.jsonl'
|
46 |
df = pd.read_json(resp_url, lines=True)
|
47 |
df['model'] = df['model'].map(MODEL_MAPPINGS)
|
48 |
df['prompt'] = df[['prompt', 'prompt_id']].apply(lambda x: f"{x['prompt']} [{x['prompt_id']}]", axis=1)
|
|
|
42 |
"qwen2-72b-instruct": "Qwen 2 72b",
|
43 |
"codestral-2405": "Codestral"
|
44 |
}
|
45 |
+
resp_url = 'https://github.com/LAION-AI/AIW/raw/main/collected_responses/responses.jsonl?download='
|
46 |
df = pd.read_json(resp_url, lines=True)
|
47 |
df['model'] = df['model'].map(MODEL_MAPPINGS)
|
48 |
df['prompt'] = df[['prompt', 'prompt_id']].apply(lambda x: f"{x['prompt']} [{x['prompt_id']}]", axis=1)
|