Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
with gr.Blocks() as demo:
|
4 |
+
button = gr.LoginButton()
|
5 |
+
gr.load("distilbert/distilbert-base-uncased", accept_token=button, src="models")
|
6 |
+
|
7 |
+
demo.launch()
|