Upload app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ os.environ["VERBOSE"] = "True" # 可以看到具体的错误?
|
|
| 34 |
|
| 35 |
# st.title("ChatGPT-like clone")
|
| 36 |
st.title("ChatGPT")
|
| 37 |
-
st.
|
| 38 |
uploaded_file = st.file_uploader("Choose a file", type=(["csv","txt","xlsx","xls"]))
|
| 39 |
# uploaded_file = st.file_uploader("选择一个文件", type=(["csv","txt","xlsx","xls"]))
|
| 40 |
# st.write(uploaded_file)
|
|
@@ -132,7 +132,7 @@ async def main():
|
|
| 132 |
# st.image(file.get_image() #! working.
|
| 133 |
# file.show_image()
|
| 134 |
# st.image(file.get_image(), width=500, output_format='png')
|
| 135 |
-
st.image(file.get_image(), width=
|
| 136 |
|
| 137 |
|
| 138 |
# message_placeholder.markdown(full_response + "▌") ## orignal code.
|
|
|
|
| 34 |
|
| 35 |
# st.title("ChatGPT-like clone")
|
| 36 |
st.title("ChatGPT")
|
| 37 |
+
st.header("GPT-4, Business Data Analytics")
|
| 38 |
uploaded_file = st.file_uploader("Choose a file", type=(["csv","txt","xlsx","xls"]))
|
| 39 |
# uploaded_file = st.file_uploader("选择一个文件", type=(["csv","txt","xlsx","xls"]))
|
| 40 |
# st.write(uploaded_file)
|
|
|
|
| 132 |
# st.image(file.get_image() #! working.
|
| 133 |
# file.show_image()
|
| 134 |
# st.image(file.get_image(), width=500, output_format='png')
|
| 135 |
+
st.image(file.get_image(), width=None, output_format='PNG')
|
| 136 |
|
| 137 |
|
| 138 |
# message_placeholder.markdown(full_response + "▌") ## orignal code.
|