Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def greet(name):
|
| 4 |
-
with open('database.csv','
|
| 5 |
file.write(name + "\n")
|
| 6 |
|
| 7 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def greet(name):
|
| 4 |
+
with open('database.csv','a') as file:
|
| 5 |
file.write(name + "\n")
|
| 6 |
|
| 7 |
|