Omnibus commited on
Commit
39303a6
·
1 Parent(s): 112199e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -39,8 +39,12 @@ def first():
39
  return out
40
 
41
  def test(inp):
42
- with open("myfile.txt", "r") as file1:
43
- html_out = file1.read()
 
 
 
 
44
  style = '''
45
  .put-on-top{
46
  align-contents:center;
 
39
  return out
40
 
41
  def test(inp):
42
+ if inp != None or inp != "":
43
+ html_out = inp
44
+ pass
45
+ else:
46
+ with open("myfile.txt", "r") as file1:
47
+ html_out = file1.read()
48
  style = '''
49
  .put-on-top{
50
  align-contents:center;