YchKhan commited on
Commit
d846e93
·
verified ·
1 Parent(s): 62be639

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,7 +12,8 @@ def append_text_to_file(text):
12
  with gr.Blocks() as demo:
13
  tb_input = gr.Textbox(label='enter some text')
14
  fi_output = gr.File(type='binary')
15
- print(fi_output.name)
 
16
  tb_input.submit(append_text_to_file, inputs=tb_input, outputs=fi_output)
17
 
18
  demo.launch(debug=True)
 
12
  with gr.Blocks() as demo:
13
  tb_input = gr.Textbox(label='enter some text')
14
  fi_output = gr.File(type='binary')
15
+ print(dir(fi_output))
16
+
17
  tb_input.submit(append_text_to_file, inputs=tb_input, outputs=fi_output)
18
 
19
  demo.launch(debug=True)