devngho commited on
Commit
52d627a
β€’
1 Parent(s): baaa2f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ import gradio as gr
13
 
14
  @spaces.GPU
15
  def evaluate_model(input_text):
16
- return [model(input_text)[0]['score'] * 6 if model_name != 'devngho/ko_edu_classifier_v2_nlpai-lab_KoE5' else model('passage: ' + input_text)[0]['score'] * 6 for model_name, model in models.items()]
17
 
18
  # Gradio interface
19
  with gr.Blocks() as demo:
 
13
 
14
  @spaces.GPU
15
  def evaluate_model(input_text):
16
+ return [model(input_text)[0]['score'] * 5 if model_name != 'devngho/ko_edu_classifier_v2_nlpai-lab_KoE5' else model('passage: ' + input_text)[0]['score'] * 5 for model_name, model in models.items()]
17
 
18
  # Gradio interface
19
  with gr.Blocks() as demo: