YchKhan commited on
Commit
e8fc88e
·
verified ·
1 Parent(s): 17ddbbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -9,13 +9,10 @@ value = set()
9
  def list_attributes_and_values():
10
  global value
11
  attr = 'temp_files'
12
- print(f"value1: {value}")
13
  new_value = getattr(fi_output, attr)
14
  print(f"value: {value}\nnew value: {new_value}")
15
- tmp = new_value - value
16
- print(f"tmp: {tmp}")
17
  value = set(new_value)
18
- print(f"value3: {value}")
19
  return f"[Click here to download the file](https://organizedprogrammers-test-file-editing.hf.space/file={tmp})"
20
 
21
  def append_text_to_file(text):
 
9
  def list_attributes_and_values():
10
  global value
11
  attr = 'temp_files'
 
12
  new_value = getattr(fi_output, attr)
13
  print(f"value: {value}\nnew value: {new_value}")
14
+ tmp = list(new_value - value)[0]
 
15
  value = set(new_value)
 
16
  return f"[Click here to download the file](https://organizedprogrammers-test-file-editing.hf.space/file={tmp})"
17
 
18
  def append_text_to_file(text):