Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def append_text_to_file(text):
|
|
| 16 |
with zipfile.ZipFile(zip_file_path, 'w') as zipf:
|
| 17 |
zipf.write(file_path, os.path.basename(file_path))
|
| 18 |
|
| 19 |
-
return zip_file_path
|
| 20 |
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
tb_input = gr.Textbox(label='enter some text')
|
|
|
|
| 16 |
with zipfile.ZipFile(zip_file_path, 'w') as zipf:
|
| 17 |
zipf.write(file_path, os.path.basename(file_path))
|
| 18 |
|
| 19 |
+
return zip_file_path
|
| 20 |
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
tb_input = gr.Textbox(label='enter some text')
|