Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,8 @@ def send_data(text):
|
|
| 21 |
data = text
|
| 22 |
with open("data.txt", "w") as f:
|
| 23 |
f.write(data)
|
| 24 |
-
|
|
|
|
| 25 |
|
| 26 |
css = """
|
| 27 |
footer {visibility: hidden !important;}
|
|
|
|
| 21 |
data = text
|
| 22 |
with open("data.txt", "w") as f:
|
| 23 |
f.write(data)
|
| 24 |
+
raise gr.Info("Данные успешно сохранены!")
|
| 25 |
+
return text
|
| 26 |
|
| 27 |
css = """
|
| 28 |
footer {visibility: hidden !important;}
|