Fix share warning
Browse files- gradio_interface.py +1 -1
gradio_interface.py
CHANGED
|
@@ -55,4 +55,4 @@ with gr.Blocks() as interface:
|
|
| 55 |
input_box.submit(fn=lambda question: ask_question(question, my_pipeline), inputs=input_box, outputs=output_box)
|
| 56 |
|
| 57 |
# Launch the Gradio app with sharing and authentication
|
| 58 |
-
interface.launch(share=
|
|
|
|
| 55 |
input_box.submit(fn=lambda question: ask_question(question, my_pipeline), inputs=input_box, outputs=output_box)
|
| 56 |
|
| 57 |
# Launch the Gradio app with sharing and authentication
|
| 58 |
+
interface.launch(share=False, auth=("user", os.getenv("GRADIO_KEY")))
|