Spaces:
Sleeping
Sleeping
Kushwanth Chowday Kandala
commited on
Commit
•
ff0e82b
1
Parent(s):
4766d46
update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ for i in st.session_state["chat_history"]:
|
|
49 |
import numpy as np
|
50 |
from PIL import Image
|
51 |
|
52 |
-
img_file_buffer = st.file_uploader('Upload a PNG image', on_change=uploader_callback type=['png','jpg'])
|
53 |
if img_file_buffer is not None:
|
54 |
image = Image.open(img_file_buffer)
|
55 |
img_array = np.array(image)
|
|
|
49 |
import numpy as np
|
50 |
from PIL import Image
|
51 |
|
52 |
+
img_file_buffer = st.file_uploader('Upload a PNG image', on_change=uploader_callback, type=['png','jpg'])
|
53 |
if img_file_buffer is not None:
|
54 |
image = Image.open(img_file_buffer)
|
55 |
img_array = np.array(image)
|