Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ st.title("Duh!")
|
|
| 8 |
|
| 9 |
# load image from the IAM dataset
|
| 10 |
url = "https://parivahan.gov.in/rcdlstatus/DispplayCaptcha?txtp_cd=1&bkgp_cd=2&noise_cd=2&gimp_cd=3&txtp_length=5&pfdrid_c=true?1429026471&pfdrid_c=true"
|
| 11 |
-
image = Image.open(requests.get(url, stream=True).raw)
|
| 12 |
|
| 13 |
col1, col2 = st.columns(2)
|
| 14 |
predictions = pipeline(image)
|
|
|
|
| 8 |
|
| 9 |
# load image from the IAM dataset
|
| 10 |
url = "https://parivahan.gov.in/rcdlstatus/DispplayCaptcha?txtp_cd=1&bkgp_cd=2&noise_cd=2&gimp_cd=3&txtp_length=5&pfdrid_c=true?1429026471&pfdrid_c=true"
|
| 11 |
+
image = Image.open(requests.get(url, stream=True).raw)
|
| 12 |
|
| 13 |
col1, col2 = st.columns(2)
|
| 14 |
predictions = pipeline(image)
|