Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,6 @@ def check_auth(username, password):
|
|
33 |
|
34 |
return False
|
35 |
|
36 |
-
auth_message="WARNING: UNAUTHORIZED ACCESS OR USE OF THIS CLOSED BETA IS STRICTLY PROHIBITED",
|
37 |
-
|
38 |
iface = gr.Interface(
|
39 |
fn=CustomChatGPT,
|
40 |
inputs=[gr.inputs.Dropdown(choices=['BioTrack', 'Regulations', 'Best Practices', 'General Question'], label='Category'), gr.inputs.Textbox(lines=1, placeholder='Type here...', label='Your Question')],
|
@@ -86,5 +84,5 @@ on growing your business!""",
|
|
86 |
)
|
87 |
|
88 |
# Launch the interface with authentication
|
89 |
-
iface.launch(auth=check_auth)
|
90 |
|
|
|
33 |
|
34 |
return False
|
35 |
|
|
|
|
|
36 |
iface = gr.Interface(
|
37 |
fn=CustomChatGPT,
|
38 |
inputs=[gr.inputs.Dropdown(choices=['BioTrack', 'Regulations', 'Best Practices', 'General Question'], label='Category'), gr.inputs.Textbox(lines=1, placeholder='Type here...', label='Your Question')],
|
|
|
84 |
)
|
85 |
|
86 |
# Launch the interface with authentication
|
87 |
+
iface.launch(auth_message="WARNING: UNAUTHORIZED ACCESS OR USE OF THIS CLOSED BETA IS STRICTLY PROHIBITED",auth=check_auth)
|
88 |
|