Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
# with gr.Blocks(css="""footer {visibility: hidden};""") as demo:
|
| 12 |
-
# output = gr.HTML("""<iframe src="{}" style="width:100%; height:1024px; overflow:auto"></iframe>""".format(tmp_link))
|
| 13 |
-
# demo.launch(auth=(os.getenv("USERNAME"), os.getenv("PASSWORD")))
|
| 14 |
-
# demo.launch()
|
|
|
|
| 1 |
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()
|
|
|
|
|
|
|
|
|
|
|
|