Spaces:
Runtime error
Runtime error
Upload with huggingface_hub
Browse filesFiles changed (4)
- README.md+7-7
- app.py+5-5
- screenshot.gifAdded
- screenshot.pngAdded
123456789101112---title: Hello Worldemoji: 😻colorFrom: yellowcolorTo: greensdk: gradiosdk_version: 3.2app_file: app.pypinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: hello_worldemoji: 💩colorFrom: indigocolorTo: indigosdk: gradiosdk_version: 3.3app_file: app.pypinned: false---
12345678910111213# URL: https://huggingface.co/spaces/gradio/hello_world# importsimport gradio as gr# core functiondef greet(name):return "Hello " + name + "!"# text to text interfacedemo = gr.Interface(fn=greet, inputs="text", outputs="text")# launchdemo.launch()12345678910111213# URL: https://huggingface.co/spaces/gradio/hello_world# DESCRIPTION: The simplest possible Gradio demo. It wraps a 'Hello {name}!' function in an Interface that accepts and returns text.import gradio as gr# defining the core functiondef greet(name):return "Hello " + name + "!"# defining a text-to-text interfacedemo = gr.Interface(fn=greet, inputs="text", outputs="text")# launching the interfacedemo.launch()
README.md+7-7
app.py+5-5
screenshot.gifAdded

screenshot.pngAdded
