Spaces:
Sleeping
Sleeping
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() | |