SujanMidatani commited on
Commit
cde8447
1 Parent(s): 99e8918
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -55,9 +55,6 @@ def finalGradingPrompt(resume_summary, role, exp, ires):
55
  # Return the final evaluation from the response
56
  return res['final_evaluation']
57
  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.values.tolist())
62
  return l
63
- gr.Interface(fn=get_shape, inputs=['file','text','text','text'], outputs='text').launch()
 
55
  # Return the final evaluation from the response
56
  return res['final_evaluation']
57
  def get_shape(csv_file,resume_summary,role,experience):
58
+ l=finalGradingPrompt(resume_summary=resume_summary,role=role,exp=experience,ires=csv_file)
 
 
 
59
  return l
60
+ gr.Interface(fn=get_shape, inputs=['text','text','text','text'], outputs='text').launch()