Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
-
jsf = """
|
3 |
-
function refresh() {
|
4 |
-
gradioURL = window.location.href
|
5 |
-
if (!gradioURL.endsWith('?__theme=dark')) {
|
6 |
-
window.location.replace(gradioURL + '?__theme=dark');
|
7 |
-
}
|
8 |
-
};
|
9 |
-
"""
|
10 |
def update(name):
|
11 |
return f"Welcome to Gradio, {name}!"
|
12 |
|
13 |
-
with gr.Blocks(theme='SnowFlash383935/
|
14 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
15 |
with gr.Row():
|
16 |
inp = gr.Textbox(placeholder="What is your name?")
|
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
def update(name):
|
3 |
return f"Welcome to Gradio, {name}!"
|
4 |
|
5 |
+
with gr.Blocks(theme='SnowFlash383935/emerald') as demo:
|
6 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
7 |
with gr.Row():
|
8 |
inp = gr.Textbox(placeholder="What is your name?")
|