Kadi-IAM commited on
Commit
5bbc4f3
·
verified ·
1 Parent(s): ab52ce1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -2,9 +2,7 @@ import gradio as gr
2
 
3
  url = "https://huggingface.co/spaces/LISA-Kadi/LISA-demo"
4
 
5
- def show_link():
6
- return f'<a href="{url}" target="_blank">Click here to visit LISA Demo</a>'
7
 
8
- demo = gr.HTML(show_link())
9
-
10
- demo.launch()
 
2
 
3
  url = "https://huggingface.co/spaces/LISA-Kadi/LISA-demo"
4
 
5
+ with gr.Blocks() as demo:
6
+ gr.Markdown(f'[Click here to visit LISA Demo]({url})')
7
 
8
+ demo.launch()