Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,5 @@ def same_auth(username, password):
|
|
6 |
def greet(name):
|
7 |
return "Hello " + name + "!!"
|
8 |
|
9 |
-
iface = gr.Interface(fn=
|
10 |
iface.launch(auth=same_auth)
|
|
|
6 |
def greet(name):
|
7 |
return "Hello " + name + "!!"
|
8 |
|
9 |
+
iface = gr.Interface(fn=same_auth, inputs="text", outputs="text")
|
10 |
iface.launch(auth=same_auth)
|