abidlabs HF Staff commited on
Commit
34d113a
·
verified ·
1 Parent(s): e3901bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -15
app.py CHANGED
@@ -1,16 +1,6 @@
1
- title: Gradio Oauth Test
2
- emoji: 🏆
3
- colorFrom: pink
4
- colorTo: pink
5
- sdk: gradio
6
- sdk_version: 4.11.2
7
- python_version: 3.10.6
8
- app_file: app.py
9
 
10
- hf_oauth: true
11
- # optional, see "Scopes" below. "openid profile" is always included.
12
- hf_oauth_scopes:
13
- - read-repos
14
- - write-repos
15
- - manage-repos
16
- - inference-api
 
1
+ import gradio as gr
 
 
 
 
 
 
 
2
 
3
+ with gr.Blocks() as demo:
4
+ gr.LoginButton()
5
+
6
+ demo.launch()