Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def classify_text(text):
|
|
21 |
|
22 |
return model.config.id2label[predicted_class_id]
|
23 |
|
24 |
-
uploaded_file = st.file_uploader("Upload Image", type= ['png', 'jpeg', 'jpg'])
|
25 |
|
26 |
if uploaded_file is not None:
|
27 |
img = Image.open(uploaded_file)
|
|
|
21 |
|
22 |
return model.config.id2label[predicted_class_id]
|
23 |
|
24 |
+
uploaded_file = st.file_uploader("Upload Image from which code needs to be extracted", type= ['png', 'jpeg', 'jpg'])
|
25 |
|
26 |
if uploaded_file is not None:
|
27 |
img = Image.open(uploaded_file)
|