Spaces:
Runtime error
Runtime error
SujanMidatani
commited on
Commit
•
cde8447
1
Parent(s):
99e8918
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 |
-
|
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=['
|
|
|
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()
|