wabang commited on
Commit
9d60753
ยท
verified ยท
1 Parent(s): e323f94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -64,15 +64,13 @@ def run_kmmlu_test(subject):
64
 
65
  #subjects = df['subject'].unique().tolist()
66
 
67
- iface = gr.Interface(fn=run_kmmlu_test)
68
-
69
-
70
- #iface = gr.Interface(
71
- # fn=run_kmmlu_test,
72
- # inputs=gr.Dropdown(choices=subjects, label="์ฃผ์ œ ์„ ํƒ"),
73
- # outputs="text",
74
- # title="Llama 3๋ฅผ ์ด์šฉํ•œ KMMLU ํ…Œ์ŠคํŠธ",
75
- # description="์„ ํƒํ•œ ์ฃผ์ œ์— ๋Œ€ํ•ด KMMLU ํ…Œ์ŠคํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค."
76
- #)
77
 
78
  iface.launch()
 
64
 
65
  #subjects = df['subject'].unique().tolist()
66
 
67
+ iface = gr.Interface(
68
+ fn=run_kmmlu_test,
69
+ inputs=None,
70
+ #inputs=gr.Dropdown(choices=subjects, label="์ฃผ์ œ ์„ ํƒ"),
71
+ outputs="text",
72
+ title="Llama 3๋ฅผ ์ด์šฉํ•œ KMMLU ํ…Œ์ŠคํŠธ",
73
+ description="์„ ํƒํ•œ ์ฃผ์ œ์— ๋Œ€ํ•ด KMMLU ํ…Œ์ŠคํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค."
74
+ )
 
 
75
 
76
  iface.launch()