Spaces:
Sleeping
Sleeping
File size: 283 Bytes
222129f |
1 2 3 4 5 6 7 8 9 10 |
import gradio as gr
def greet(name):
return f"Hello, {name}!"
# Setting up the Gradio interface
interface = gr.Interface(fn=greet, inputs="text", outputs="text")
# Launch the app and make it work inside Docker
interface.launch(server_name="0.0.0.0", server_port=7860) |