Kate Forsberg commited on
Commit
7a1f11c
·
1 Parent(s): 7ca8631
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -207,7 +207,7 @@ def send_message(message: str, history, request: gr.Request) -> Any:
207
 
208
 
209
  demo = gr.ChatInterface(fn=send_message)
210
- demo.launch()
211
 
212
  # Set it back to empty when a session is done
213
  # Is there a better way?
 
207
 
208
 
209
  demo = gr.ChatInterface(fn=send_message)
210
+ demo.launch(auth=(os.environ.get("GRADIO_USERNAME"), os.environ.get("GRADIO_PASSWORD")))
211
 
212
  # Set it back to empty when a session is done
213
  # Is there a better way?