File size: 360 Bytes
2fa7c8f 02c44bd 2fa7c8f 02c44bd 2fa7c8f 98fab5a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# import gradio as gr
#
# def greet(name):
# return "Hello ...." + name + "!!"
#
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
# iface.launch()
import gradio as gr
from test_bot.Gradio_Test import Gradio_Test
gradio_test = Gradio_Test()
demo = gradio_test.create_demo()
if __name__ == "__main__":
demo.launch("admin", "pass1234") |