Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
elif iContent:
|
| 42 |
-
|
| 43 |
-
elif uploaded_file:
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 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 |
|