Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,11 +81,11 @@ interface = gr.Interface(
|
|
| 81 |
gr.outputs.Image(label="Face with Explainability", type="pil")
|
| 82 |
],
|
| 83 |
).launch()
|
| 84 |
-
from gradio_client import Client
|
| 85 |
|
| 86 |
-
client = Client("https://vikasdeep-deepfacedetection.hf.space/")
|
| 87 |
-
result = client.predict(
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
)
|
| 91 |
-
print(result)
|
|
|
|
| 81 |
gr.outputs.Image(label="Face with Explainability", type="pil")
|
| 82 |
],
|
| 83 |
).launch()
|
| 84 |
+
# from gradio_client import Client
|
| 85 |
|
| 86 |
+
# client = Client("https://vikasdeep-deepfacedetection.hf.space/")
|
| 87 |
+
# result = client.predict(
|
| 88 |
+
# "https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png", # str (filepath on your computer (or URL) of image) in 'Input Image' Image component
|
| 89 |
+
# api_name="/predict"
|
| 90 |
+
# )
|
| 91 |
+
# print(result)
|