azamat commited on
Commit
03c648f
·
1 Parent(s): 6279d79

Added auth

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- iface.launch()
 
 
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")))