Spaces:
Sleeping
Sleeping
Hamza Salhi
commited on
Commit
•
6e5e6e5
1
Parent(s):
c1897a8
Update funcs.py
Browse filesremoved the full path
funcs.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
def get_text_block(fname):
|
2 |
# this is how to read a block of text:
|
3 |
-
path = "
|
4 |
f = open(path + "//" + fname, "r")
|
5 |
# and then write it to the app
|
6 |
return f.read();
|
|
|
1 |
def get_text_block(fname):
|
2 |
# this is how to read a block of text:
|
3 |
+
path = "text_blocks"
|
4 |
f = open(path + "//" + fname, "r")
|
5 |
# and then write it to the app
|
6 |
return f.read();
|