Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ if __name__=="__main__":
|
|
37 |
|
38 |
if iContent and uploaded_file:
|
39 |
content= uploaded_file.read()
|
40 |
-
st.code(
|
41 |
answer= get_chat_completion(content)
|
42 |
elif iContent:
|
43 |
answer= get_chat_completion(iContent)
|
|
|
37 |
|
38 |
if iContent and uploaded_file:
|
39 |
content= uploaded_file.read()
|
40 |
+
st.code(content, language="txt")
|
41 |
answer= get_chat_completion(content)
|
42 |
elif iContent:
|
43 |
answer= get_chat_completion(iContent)
|