Update utils.py
Browse files
utils.py
CHANGED
@@ -22,13 +22,13 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
22 |
|
23 |
|
24 |
def reset_state():
|
25 |
-
return [], [], "
|
26 |
|
27 |
def reset_textbox():
|
28 |
return gr.update(value=""),""
|
29 |
|
30 |
def cancel_outputing():
|
31 |
-
return "
|
32 |
|
33 |
def transfer_input(inputs):
|
34 |
textbox = reset_textbox()
|
|
|
22 |
|
23 |
|
24 |
def reset_state():
|
25 |
+
return [], [], "Resettato"
|
26 |
|
27 |
def reset_textbox():
|
28 |
return gr.update(value=""),""
|
29 |
|
30 |
def cancel_outputing():
|
31 |
+
return "Cancellato"
|
32 |
|
33 |
def transfer_input(inputs):
|
34 |
textbox = reset_textbox()
|