Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,12 @@ def first():
|
|
39 |
return out
|
40 |
|
41 |
def test(inp):
|
42 |
-
|
43 |
-
html_out =
|
|
|
|
|
|
|
|
|
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;
|