Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
aliabd
/
playground-llm
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
aliabd
HF staff
commited on
Sep 4, 2024
Commit
9fdb9dc
·
verified
·
1 Parent(s):
41751a2
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+10
-0
app.py
ADDED
Viewed
@@ -0,0 +1,10 @@
1
+
import gradio as gr
2
+
js = """
3
+
function redirect()
4
+
{
5
+
window.location.href = 'https://307f1325.gradio-website.pages.dev/playground';
6
+
}
7
+
"""
8
+
with gr.Blocks(js=js) as demo:
9
+
pass
10
+
demo.launch()