Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3249833

Browse files
Taking Path input from user
1 parent d31e5eb commit 3249833

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Malaria/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
os.environ['TF_XLA_FLAGS'] = '--tf_xla_enable_xla_devices'
1111

1212
# reading image
13-
img = Image.open("Images/cell1.jpg")
13+
val_path = input("Enter image path name eg. Images/cell1.jpg")
14+
img = Image.open(val_path)
1415
# confiiguring input image according to the model's requirement
1516
img = img.resize((36, 36))
1617
img = np.asarray(img)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /