Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,8 @@ def get_paper_markdown(paperid):
|
|
103 |
if fname is None:
|
104 |
return "## paper not found"
|
105 |
else:
|
106 |
-
|
|
|
107 |
return paper
|
108 |
|
109 |
def publish_paper(title, authors, tags, abst, data):
|
|
|
103 |
if fname is None:
|
104 |
return "## paper not found"
|
105 |
else:
|
106 |
+
with fs.open(fname, "r") as f:
|
107 |
+
papertxt = f.read()
|
108 |
return paper
|
109 |
|
110 |
def publish_paper(title, authors, tags, abst, data):
|