from prototype import activate | |
import gradio | |
iface = gradio.Interface( | |
fn= activate, | |
inputs=gradio.components.Image(type="numpy"), | |
outputs=gradio.components.Image(type="numpy"), | |
title="Hatting Face", | |
description="Upload the picture of your choice :)" | |
) | |
iface.launch(share=True) | |