Spaces:
Sleeping
Sleeping
pbrenotvinciguerra
commited on
Commit
•
35c898d
1
Parent(s):
9f19b7a
add auth
Browse files
app.py
CHANGED
@@ -12,5 +12,5 @@ def predict(url, query):
|
|
12 |
return str(response.text)
|
13 |
|
14 |
iface = gr.Interface(fn=predict, inputs=["text","text"], outputs="text")
|
15 |
-
iface.launch()
|
16 |
|
|
|
12 |
return str(response.text)
|
13 |
|
14 |
iface = gr.Interface(fn=predict, inputs=["text","text"], outputs="text")
|
15 |
+
iface.launch(auth=authenticate)
|
16 |
|