Spaces:
Runtime error
Runtime error
More details
Browse files
app.py
CHANGED
@@ -42,5 +42,16 @@ def gen_all(OldVersion, NewVersion):
|
|
42 |
|
43 |
os.makedirs('results', exist_ok=True)
|
44 |
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
iface.launch(enable_queue=True)
|
|
|
42 |
|
43 |
os.makedirs('results', exist_ok=True)
|
44 |
|
45 |
+
title = "Latex Diff"
|
46 |
+
description = "This Space automatically generates LatexDiff for two different versions of your latex project."
|
47 |
+
article = "<p style='text-align: center'><a href='https://gitlab.com/git-latexdiff/git-latexdiff' target='_blank'>Git LatexDiff GitLab Repo</a></p>"
|
48 |
+
|
49 |
+
|
50 |
+
iface = gr.Interface(gen_all,
|
51 |
+
["file", "file"], "file",
|
52 |
+
allow_screenshot=False, allow_flagging=False,
|
53 |
+
title=title,
|
54 |
+
description=description,
|
55 |
+
article=article
|
56 |
+
examples=[['1.zip','2.zip']])
|
57 |
iface.launch(enable_queue=True)
|