chrisjay commited on
Commit
c320029
1 Parent(s): 227b260

changed output type to html

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def get_record(language,text,record):
9
  # Save text and its corresponding record to flag
10
 
11
  text =text.strip()
12
- output_string = "<div class='output'>"+f'Record for text {text} successfully saved to dataset! Thank You.'+"</div>"
13
  print(output_string)
14
  return output_string
15
 
 
9
  # Save text and its corresponding record to flag
10
 
11
  text =text.strip()
12
+ output_string = "<html> <body> <div class='output'>"+f'Record for text {text} successfully saved to dataset! Thank You.'+"</div> </body> </html>"
13
  print(output_string)
14
  return output_string
15