Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,5 +25,5 @@ with gr.Blocks() as app:
|
|
25 |
format=gr.Dropdown(label="Line Format",choices=[m for m in list(mf.keys())])
|
26 |
txt=gr.Textbox(lines=20)
|
27 |
btn=gr.Button()
|
28 |
-
btn.click(upd,[txt,cur_l,
|
29 |
app.launch()
|
|
|
25 |
format=gr.Dropdown(label="Line Format",choices=[m for m in list(mf.keys())])
|
26 |
txt=gr.Textbox(lines=20)
|
27 |
btn=gr.Button()
|
28 |
+
btn.click(upd,[txt,cur_l,cur_d,format],[prev,cur_l])
|
29 |
app.launch()
|