zhen-dong-nexusflow
commited on
Commit
·
30f0ed5
1
Parent(s):
97ba924
minor change on naming
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ def calculate_capability_scores(results, type):
|
|
221 |
vt_multi_disconnected_avg = pd.DataFrame({k: results[k] for k in vt_multi_disconnected}).mean(axis=1)
|
222 |
|
223 |
capability_data = pd.DataFrame({
|
224 |
-
'Capability': ['OTX (Single)', 'VirusTotal (Single)', 'VT_Multi (Nested)', 'VT_Multi (Parallel)', 'CVECPE (Single)', 'CVECPE_Multi (Nested)', 'Places (Nested)', 'Climate (Parallel)', 'Stack (
|
225 |
'GPT4': [otx_avg['GPT4'], virustotal_avg['GPT4'], vt_multi_dependency_avg['GPT4'], vt_multi_disconnected_avg['GPT4'], cvecpe_avg['GPT4'], cvecpe_multi_dependency_avg['GPT4'], places_avg['GPT4'], climate_avg['GPT4'], heldout_avg['GPT4']],
|
226 |
'NexusRaven-V2': [otx_avg['NexusRaven-V2'], virustotal_avg['NexusRaven-V2'], vt_multi_dependency_avg['NexusRaven-V2'], vt_multi_disconnected_avg['NexusRaven-V2'], cvecpe_avg['NexusRaven-V2'], cvecpe_multi_dependency_avg['NexusRaven-V2'],
|
227 |
places_avg['NexusRaven-V2'], climate_avg['NexusRaven-V2'], heldout_avg['NexusRaven-V2']]
|
@@ -319,7 +319,7 @@ with gr.Blocks(theme="dark") as demo: # Set the theme here
|
|
319 |
'VT_Multi_Dependency': 'VT_Multi (Nested)',
|
320 |
'Places_API': 'Places (Nested)',
|
321 |
'CVECPE_Multi_Dependency': 'CVECPE_Multi (Nested)',
|
322 |
-
'Heldout_Combined': 'Stack (
|
323 |
'Climate': 'Climate (Parallel)',
|
324 |
'VT_Multi_Disconnected': 'VT_Multi (Parallel)'
|
325 |
}
|
|
|
221 |
vt_multi_disconnected_avg = pd.DataFrame({k: results[k] for k in vt_multi_disconnected}).mean(axis=1)
|
222 |
|
223 |
capability_data = pd.DataFrame({
|
224 |
+
'Capability': ['OTX (Single)', 'VirusTotal (Single)', 'VT_Multi (Nested)', 'VT_Multi (Parallel)', 'CVECPE (Single)', 'CVECPE_Multi (Nested)', 'Places (Nested)', 'Climate (Parallel)', 'Stack (Mostly Single)'],
|
225 |
'GPT4': [otx_avg['GPT4'], virustotal_avg['GPT4'], vt_multi_dependency_avg['GPT4'], vt_multi_disconnected_avg['GPT4'], cvecpe_avg['GPT4'], cvecpe_multi_dependency_avg['GPT4'], places_avg['GPT4'], climate_avg['GPT4'], heldout_avg['GPT4']],
|
226 |
'NexusRaven-V2': [otx_avg['NexusRaven-V2'], virustotal_avg['NexusRaven-V2'], vt_multi_dependency_avg['NexusRaven-V2'], vt_multi_disconnected_avg['NexusRaven-V2'], cvecpe_avg['NexusRaven-V2'], cvecpe_multi_dependency_avg['NexusRaven-V2'],
|
227 |
places_avg['NexusRaven-V2'], climate_avg['NexusRaven-V2'], heldout_avg['NexusRaven-V2']]
|
|
|
319 |
'VT_Multi_Dependency': 'VT_Multi (Nested)',
|
320 |
'Places_API': 'Places (Nested)',
|
321 |
'CVECPE_Multi_Dependency': 'CVECPE_Multi (Nested)',
|
322 |
+
'Heldout_Combined': 'Stack (Mostly Single)',
|
323 |
'Climate': 'Climate (Parallel)',
|
324 |
'VT_Multi_Disconnected': 'VT_Multi (Parallel)'
|
325 |
}
|