Spaces:
Sleeping
Sleeping
Dropdown.update is deprecated. so remove it
Browse files
app.py
CHANGED
|
@@ -103,11 +103,11 @@ def reset_user_input():
|
|
| 103 |
|
| 104 |
def reset_state():
|
| 105 |
history = gr.State(init_history)
|
| 106 |
-
return '', '', [], gr.Dropdown
|
| 107 |
|
| 108 |
|
| 109 |
def allow_user_input():
|
| 110 |
-
return gr.Dropdown
|
| 111 |
|
| 112 |
|
| 113 |
with gr.Blocks() as demo:
|
|
|
|
| 103 |
|
| 104 |
def reset_state():
|
| 105 |
history = gr.State(init_history)
|
| 106 |
+
return '', '', [], gr.Dropdown(value=None, interactive=False)
|
| 107 |
|
| 108 |
|
| 109 |
def allow_user_input():
|
| 110 |
+
return gr.Dropdown(interactive=True)
|
| 111 |
|
| 112 |
|
| 113 |
with gr.Blocks() as demo:
|