Spaces:
Sleeping
Sleeping
import gradio as gr | |
# Define the new Gradio app function | |
def greet(name): | |
return f"Hello, {name}! You are now in the new Gradio app." | |
# Create a new Gradio interface | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
# Launch the new Gradio app | |
iface.launch(server_name="0.0.0.0", server_port=7860) |