SujanMidatani commited on
Commit
b200117
1 Parent(s): 62c8d71
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def finalGradingPrompt(resume_summary, role, exp, ires):
36
  contain the start and end timestamps of the interviewee answering the questions within a 2-minute time constraint.
37
  Finally, the records contain a float value of the plagiarism score. We have set the threshold of 0.96 for an answer to be considered plagiarized.
38
 
39
- The CSV records are given as a pandas dataframe, which is as follows:
40
 
41
  {{ires}}
42
 
@@ -58,6 +58,6 @@ def get_shape(csv_file,resume_summary,role,experience):
58
  with open(csv_file.name, "r") as f:
59
  k=pd.read_csv(f)
60
  k.dropna()
61
- l=finalGradingPrompt(resume_summary=resume_summary,role=role,exp=experience,ires=k)
62
  return l
63
  gr.Interface(fn=get_shape, inputs=['file','text','text','text'], outputs='text').launch()
 
36
  contain the start and end timestamps of the interviewee answering the questions within a 2-minute time constraint.
37
  Finally, the records contain a float value of the plagiarism score. We have set the threshold of 0.96 for an answer to be considered plagiarized.
38
 
39
+ The List of evaluations records are as follows ::
40
 
41
  {{ires}}
42
 
 
58
  with open(csv_file.name, "r") as f:
59
  k=pd.read_csv(f)
60
  k.dropna()
61
+ l=finalGradingPrompt(resume_summary=resume_summary,role=role,exp=experience,ires=k.values.tolist())
62
  return l
63
  gr.Interface(fn=get_shape, inputs=['file','text','text','text'], outputs='text').launch()