Spaces:
Running
on
Zero
Running
on
Zero
import gradio as gr | |
from app.gui import get_inputs_components, get_outputs_components, get_examples, get_desc | |
from app.handler import handler | |
def entry(): | |
demo = gr.Interface( | |
fn = handler, | |
inputs = get_inputs_components(), | |
outputs = get_outputs_components(), | |
examples = get_examples(), | |
description = get_desc(), | |
) | |
demo.launch() | |
if __name__ == '__main__': | |
entry() |