Spaces:
Sleeping
Sleeping
Added auth
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gdown
|
2 |
import gradio as gr
|
3 |
from weaviate_explorer import WeaviateExplorer
|
@@ -49,4 +50,5 @@ iface = gr.Interface(fn=search,
|
|
49 |
description=description,
|
50 |
examples=[[e] for e in examples],
|
51 |
cache_examples="lazy")
|
52 |
-
|
|
|
|
1 |
+
import os
|
2 |
import gdown
|
3 |
import gradio as gr
|
4 |
from weaviate_explorer import WeaviateExplorer
|
|
|
50 |
description=description,
|
51 |
examples=[[e] for e in examples],
|
52 |
cache_examples="lazy")
|
53 |
+
|
54 |
+
iface.launch(auth=(os.getenv("username"), os.getenv("password")))
|