xuandin commited on
Commit
7c117db
·
verified ·
1 Parent(s): d7db16b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -325,6 +325,11 @@ tokenizer_qatc, model_qatc = load_model(qatc_model_name, QATCForQuestionAnswerin
325
  tokenizer_bc, model_bc = load_model(bc_model_name, ClaimModelForClassification, is_bc=True, device=DEVICE)
326
  tokenizer_tc, model_tc = load_model(tc_model_name, ClaimModelForClassification, device=DEVICE)
327
 
 
 
 
 
 
328
  # --- Tab Verify ---
329
  with tabs[0]:
330
  col1, col2 = st.columns([2, 1])
 
325
  tokenizer_bc, model_bc = load_model(bc_model_name, ClaimModelForClassification, is_bc=True, device=DEVICE)
326
  tokenizer_tc, model_tc = load_model(tc_model_name, ClaimModelForClassification, device=DEVICE)
327
 
328
+ verdict_icons = {
329
+ "SUPPORTED": "✅",
330
+ "REFUTED": "❌",
331
+ "NEI": "⚠️"
332
+ }
333
  # --- Tab Verify ---
334
  with tabs[0]:
335
  col1, col2 = st.columns([2, 1])