taesiri commited on
Commit
71c387f
1 Parent(s): 0dba52c

More details

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -42,5 +42,16 @@ def gen_all(OldVersion, NewVersion):
42
 
43
  os.makedirs('results', exist_ok=True)
44
 
45
- iface = gr.Interface(gen_all, ["file", "file"], "file", allow_screenshot=False, allow_flagging=False)
 
 
 
 
 
 
 
 
 
 
 
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)