kz-transformers commited on
Commit
c0152ba
·
verified ·
1 Parent(s): a176b78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,10 +27,10 @@ def submit_file(v, file_path, mn, profile: gr.OAuthProfile | None):
27
  print('PROFILE: ', profile.__dict__)
28
  print('MN:', mn)
29
  new_file = v['results']
30
- # if profile.username == 'kz-transformers':
31
- # new_file['model'] = mn
32
- # else:
33
- new_file['model'] = profile.username + "/" + mn
34
 
35
  columns = [
36
  'mmlu_translated_kk', 'kk_constitution_mc', 'kk_dastur_mc', 'kazakh_and_literature_unt_mc', 'kk_geography_unt_mc',
 
27
  print('PROFILE: ', profile.__dict__)
28
  print('MN:', mn)
29
  new_file = v['results']
30
+ if profile.username == 'kz-transformers':
31
+ new_file['model'] = mn
32
+ else:
33
+ new_file['model'] = profile.username + "/" + mn
34
 
35
  columns = [
36
  'mmlu_translated_kk', 'kk_constitution_mc', 'kk_dastur_mc', 'kazakh_and_literature_unt_mc', 'kk_geography_unt_mc',