반응형 2024/1213 How to Use Gradio Building Your First DemoYou can run Gradio in your favorite code editor, Jupyter notebook, Google Colab, or anywhere else you write Python. Let's write your first Gradio app:pip install gradio import gradio as grdef greet(name, intensity): return "Hello, " + name + "!" * int(intensity)demo = gr.Interface( fn=greet, inputs=["text", "slider"], outputs=["text"],)demo.launch() https:/.. 2024. 12. 9. 이전 1 2 3 4 다음 반응형