LuisV
commited on
Commit
·
e7acb73
1
Parent(s):
3fb323d
fixing path typo
Browse files
app.py
CHANGED
@@ -73,6 +73,11 @@ with gr.Blocks() as demo:
|
|
73 |
</h2>
|
74 |
<p style="text-align: center;"></p>
|
75 |
""")
|
|
|
|
|
|
|
|
|
|
|
76 |
gr_image = gr.Image(
|
77 |
label= "An artwork: ",
|
78 |
type = "filepath",
|
|
|
73 |
</h2>
|
74 |
<p style="text-align: center;"></p>
|
75 |
""")
|
76 |
+
print("Checking for image")
|
77 |
+
test_image_name = "1665_Girl_with_a_Pearl_Earring.jpg"
|
78 |
+
print(os.path.isfile(test_image_name))
|
79 |
+
print(os.path.isfile(os.path.join(os.getcwd(), test_image_name)))
|
80 |
+
print(os.path.isfile(os.path.join(os.path.dirname(__file__), test_image_name)))
|
81 |
gr_image = gr.Image(
|
82 |
label= "An artwork: ",
|
83 |
type = "filepath",
|