VjPower commited on
Commit
bd56c80
1 Parent(s): e888de1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -32,18 +32,18 @@ Give Overall rating and verdict for if the candidate has to be considered for ne
32
 
33
  if __name__=="__main__":
34
  iContent=st.text_area("Enter Transcript")
35
- uploaded_file = st.file_uploader("Upload a file", type=["txt", "docx"])
36
-
37
- if iContent and uploaded_file:
38
- content= uploaded_file.read()
39
- st.code(content, language="txt")
40
- st.json({'feedback':get_chat_completion(content)})
41
- elif iContent:
42
- st.json({'feedback':get_chat_completion(iContent)})
43
- elif uploaded_file:
44
- content= uploaded_file.read()
45
- st.code(content, language="txt")
46
- st.json({'feedback':get_chat_completion(content)})
47
 
48
 
49
 
 
32
 
33
  if __name__=="__main__":
34
  iContent=st.text_area("Enter Transcript")
35
+ # uploaded_file = st.file_uploader("Upload a file", type=["txt", "docx"])
36
+ st.json({'feedback':get_chat_completion(iContent)})
37
+ # if iContent and uploaded_file:
38
+ # content= uploaded_file.read()
39
+ # st.code(content, language="txt")
40
+ # st.json({'feedback':get_chat_completion(content)})
41
+ # elif iContent:
42
+ # st.json({'feedback':get_chat_completion(iContent)})
43
+ # elif uploaded_file:
44
+ # content= uploaded_file.read()
45
+ # st.code(content, language="txt")
46
+ # st.json({'feedback':get_chat_completion(content)})
47
 
48
 
49