Spaces:
Sleeping
Sleeping
Moibe
commited on
Commit
·
600eecf
1
Parent(s):
8d70c8b
Etiqueta variable
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def predict(text_input, dropdown):
|
|
26 |
|
27 |
|
28 |
with gr.Blocks() as block:
|
29 |
-
tokens_label = gr.Label("
|
30 |
text_input = gr.Text(label="Input183")
|
31 |
dropdown = gr.Dropdown(["first", "second", "third"], type="index")
|
32 |
local_data = gr.JSON({}, label="Local Storage")
|
|
|
26 |
|
27 |
|
28 |
with gr.Blocks() as block:
|
29 |
+
tokens_label = gr.Label(_js="(v)=>{ getStorage('text_input') }")
|
30 |
text_input = gr.Text(label="Input183")
|
31 |
dropdown = gr.Dropdown(["first", "second", "third"], type="index")
|
32 |
local_data = gr.JSON({}, label="Local Storage")
|