Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!pip install gradio
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
|
5 |
+
def greet(name):
|
6 |
+
return "Hello " + name + "!"
|
7 |
+
|
8 |
+
|
9 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
10 |
+
|
11 |
+
if __name__ == "__main__":
|
12 |
+
demo.launch()
|