Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
iamrobotbear
/
gradio-auth-new
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
iamrobotbear
commited on
Feb 15, 2023
Commit
2f28136
·
1 Parent(s):
5b32c11
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+9
-0
app.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
import gradio as gr
2
+
import os
3
+
ok = os.getenv("P")
4
+
5
+
def greet(name):
6
+
return "Hello " + name + "!!"
7
+
8
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+
iface.launch()