반응형

[PYTHON] Gradio 웹앱 만들기


Build & share delightful machine learning apps easily

Gradio 
        https://gradio.app/             
        https://github.com/gradio-app/gradio   

 

"""_summary_
     # Gradio 
        https://gradio.app/             
        https://github.com/gradio-app/gradio     
        
        
Returns:
    _type_: _description_
"""
import gradio as gr

def greet(name):
    return "Hello " + name + " !"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")


if __name__ == "__main__":
    demo.launch(share=True)

반응형

+ Recent posts