zerogpudevmode / app.py
levena's picture
feat: update
ccb19a0
raw
history blame
319 Bytes
import gradio as gr # type: ignore
def greet(name, sliderint):
return "Hello " + name + "!!" + str(sliderint)
demo = gr.Interface(fn=greet, inputs=["text","slider"], outputs="text")
def chatinterface_fn(message,history):
return f"{message} return"
gr.chatInterface(chatinterface_fn).launch()
demo.launch()