Test-bot / app.py
DinisCruz's picture
refactoring code
2fa7c8f
raw
history blame
341 Bytes
# 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()