Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
pknayak
/
tradingGEN_login
like
0
Runtime error
App
Files
Files
Community
1
pknayak
commited on
Jan 4
Commit
e9e1c86
•
1 Parent(s):
ea186b5
Update app.py
Browse files
* adding code for testing the auth on the go
Files changed (1)
hide
show
app.py
+2
-0
app.py
CHANGED
Viewed
@@ -1,4 +1,6 @@
1
import gradio as gr
2
3
4
demo.launch(auth=("admin","admin"))
1
import gradio as gr
2
3
+
with gr.Blocks() as demo:
4
+
gr.Markdown("# Welcome to the TradingGEN app")
5
6
demo.launch(auth=("admin","admin"))