Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -954,7 +954,7 @@ def create_gradio_interface():
|
|
954 |
|
955 |
|
956 |
with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
957 |
-
|
958 |
gr.Markdown(f"### Hello, {user_info['name']}! Welcome to the Gradio App")
|
959 |
name = gr.Textbox(label="Enter your name")
|
960 |
greet_btn = gr.Button("Greet")
|
|
|
954 |
|
955 |
|
956 |
with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
957 |
+
if user_info.get('authenticated', False):
|
958 |
gr.Markdown(f"### Hello, {user_info['name']}! Welcome to the Gradio App")
|
959 |
name = gr.Textbox(label="Enter your name")
|
960 |
greet_btn = gr.Button("Greet")
|