wabang commited on
Commit
99f10fb
ยท
verified ยท
1 Parent(s): b45244d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -62,12 +62,9 @@ def run_kmmlu_test(subject):
62
  summary = f"์ฃผ์ œ: {subject}\n์ •ํ™•๋„: {accuracy:.2%} ({correct}/{total})\n\n"
63
  return summary + "\n".join(results)
64
 
65
- print(df)
66
- #subjects = df['subject'].unique().tolist()
67
-
68
  iface = gr.Interface(
69
  fn=run_kmmlu_test,
70
- inputs=None,
71
  #inputs=gr.Dropdown(choices=subjects, label="์ฃผ์ œ ์„ ํƒ"),
72
  outputs="text",
73
  title="Llama 3๋ฅผ ์ด์šฉํ•œ KMMLU ํ…Œ์ŠคํŠธ",
 
62
  summary = f"์ฃผ์ œ: {subject}\n์ •ํ™•๋„: {accuracy:.2%} ({correct}/{total})\n\n"
63
  return summary + "\n".join(results)
64
 
 
 
 
65
  iface = gr.Interface(
66
  fn=run_kmmlu_test,
67
+ inputs="Accounting",
68
  #inputs=gr.Dropdown(choices=subjects, label="์ฃผ์ œ ์„ ํƒ"),
69
  outputs="text",
70
  title="Llama 3๋ฅผ ์ด์šฉํ•œ KMMLU ํ…Œ์ŠคํŠธ",