xx
Browse files
app.py
CHANGED
|
@@ -134,7 +134,9 @@ examples = [
|
|
| 134 |
|
| 135 |
with gr.Blocks() as demo:
|
| 136 |
with gr.Sidebar():
|
| 137 |
-
|
|
|
|
|
|
|
| 138 |
|
| 139 |
chatbot = gr.ChatInterface(
|
| 140 |
fn=model_inference,
|
|
|
|
| 134 |
|
| 135 |
with gr.Blocks() as demo:
|
| 136 |
with gr.Sidebar():
|
| 137 |
+
# Gradio LoginButton may not accept a `label` kwarg depending on the installed version
|
| 138 |
+
# so create it without that argument for maximum compatibility.
|
| 139 |
+
login_btn = gr.LoginButton()
|
| 140 |
|
| 141 |
chatbot = gr.ChatInterface(
|
| 142 |
fn=model_inference,
|