Shashidhar226 commited on
Commit
cb48d5e
1 Parent(s): 3bb5190

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ def chat_with_graph():
155
  uploaded_file = st.file_uploader('Upload your GRAPH', type=['png', 'jpeg', 'jpg'], key="graphUploader")
156
 
157
  if uploaded_file is not None:
158
- # image = Image.open(uploaded_file)
159
 
160
  if image.format == 'PNG':
161
  image = convert_png_to_jpg(image)
 
155
  uploaded_file = st.file_uploader('Upload your GRAPH', type=['png', 'jpeg', 'jpg'], key="graphUploader")
156
 
157
  if uploaded_file is not None:
158
+ image = Image.open(uploaded_file)
159
 
160
  if image.format == 'PNG':
161
  image = convert_png_to_jpg(image)