VjPower commited on
Commit
e888de1
·
1 Parent(s): 524a4fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -37,11 +37,9 @@ if __name__=="__main__":
37
  if iContent and uploaded_file:
38
  content= uploaded_file.read()
39
  st.code(content, language="txt")
40
- answer= get_chat_completion(content)
41
  st.json({'feedback':get_chat_completion(content)})
42
  elif iContent:
43
- answer= get_chat_completion(iContent)
44
- st.json({'feedback':get_chat_completion(content)})
45
  elif uploaded_file:
46
  content= uploaded_file.read()
47
  st.code(content, language="txt")
 
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")