nathanael-fijalkow commited on
Commit
a02c4e5
·
1 Parent(s): 62aca87

hide model name

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -67,7 +67,7 @@ def evaluate_submission(file_obj):
67
  student_module = importlib.util.module_from_spec(spec)
68
  spec.loader.exec_module(student_module)
69
 
70
- report = [f"## Results for {EVAL_MODEL}\n"]
71
 
72
  # --- EXERCISE 1 ---
73
  ex1_passed = 0
@@ -135,8 +135,7 @@ demo = gr.Interface(
135
  fn=evaluate_submission,
136
  inputs=gr.File(label="Submission File"),
137
  outputs="markdown",
138
- api_name="predict" # This matches the 'api_name' used in the Public Portal
139
  )
140
 
141
- # We limit concurrency to 1 or 2 so the GPU doesn't OOM with 200 students
142
  demo.queue(default_concurrency_limit=1).launch()
 
67
  student_module = importlib.util.module_from_spec(spec)
68
  spec.loader.exec_module(student_module)
69
 
70
+ report = [f"## Results:\n"]
71
 
72
  # --- EXERCISE 1 ---
73
  ex1_passed = 0
 
135
  fn=evaluate_submission,
136
  inputs=gr.File(label="Submission File"),
137
  outputs="markdown",
138
+ api_name="predict"
139
  )
140
 
 
141
  demo.queue(default_concurrency_limit=1).launch()