Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -108,11 +108,9 @@ chat_interface = gr.ChatInterface(
|
|
108 |
)
|
109 |
|
110 |
with gr.Blocks(css_paths="style.css", fill_height=True) as demo:
|
111 |
-
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
112 |
def authenticate_token(token):
|
113 |
try:
|
114 |
-
|
115 |
-
login(token = hf_token)
|
116 |
load_model()
|
117 |
chat_interface.render()
|
118 |
return f"Authenticated successfully"
|
|
|
108 |
)
|
109 |
|
110 |
with gr.Blocks(css_paths="style.css", fill_height=True) as demo:
|
|
|
111 |
def authenticate_token(token):
|
112 |
try:
|
113 |
+
login(token = token)
|
|
|
114 |
load_model()
|
115 |
chat_interface.render()
|
116 |
return f"Authenticated successfully"
|