Toumaima commited on
Commit
7a13bd1
·
verified ·
1 Parent(s): 05bf029

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,7 +5,6 @@ import pandas as pd
5
  from huggingface_hub import login
6
  import re
7
  from groq import Groq
8
- from scorer import question_scorer
9
 
10
  # --- Constants ---
11
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
@@ -170,7 +169,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
170
  except Exception as e:
171
  return f"Submission Failed: {e}", pd.DataFrame(results_log)
172
 
173
- print(question_scorer("FINAL ANSWER: right", "right")) # Should print True
174
 
175
  # --- Build Gradio Interface ---
176
  with gr.Blocks() as demo:
 
5
  from huggingface_hub import login
6
  import re
7
  from groq import Groq
 
8
 
9
  # --- Constants ---
10
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
 
169
  except Exception as e:
170
  return f"Submission Failed: {e}", pd.DataFrame(results_log)
171
 
172
+ print(no_spaces = re.sub(r"\s", "","FINAL ANSWER: right", "right")) # Should print True
173
 
174
  # --- Build Gradio Interface ---
175
  with gr.Blocks() as demo: