Ahsen Khaliq commited on
Commit
ee6b045
1 Parent(s): fc0609e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -41,9 +41,10 @@ def inference(m1,m2):
41
  return b
42
 
43
  title = "Longformer-scico"
44
- description = "demo for Anime2Sketch. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
45
- article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.05703'>Adversarial Open Domain Adaption for Sketch-to-Photo Synthesis</a> | <a href='https://github.com/Mukosame/Anime2Sketch'>Github Repo</a></p>"
46
 
 
47
  gr.Interface(
48
  inference,
49
  [gr.inputs.Textbox(label="Input1"),gr.inputs.Textbox(label="Input2")],
@@ -51,5 +52,6 @@ gr.Interface(
51
  title=title,
52
  description=description,
53
  article=article,
54
- enable_queue=True
 
55
  ).launch(debug=True)
 
41
  return b
42
 
43
  title = "Longformer-scico"
44
+ description = "Gradio demo for Longformer-scico. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
45
+ article = "<p style='text-align: center'><a href='https://openreview.net/forum?id=OFLbgUP04nC'>SciCo: Hierarchical Cross-Document Coreference for Scientific Concepts</a> | <a href='https://github.com/ariecattan/SciCo'>Github Repo</a></p>"
46
 
47
+ examples = [["In this paper we present the results of an experiment in <m> automatic concept and definition extraction </m> from written sources of law using relatively simple natural methods.","This task is important since many natural language processing (NLP) problems, such as <m> information extraction </m>, summarization and dialogue."]]
48
  gr.Interface(
49
  inference,
50
  [gr.inputs.Textbox(label="Input1"),gr.inputs.Textbox(label="Input2")],
 
52
  title=title,
53
  description=description,
54
  article=article,
55
+ enable_queue=True,
56
+ examples=examples
57
  ).launch(debug=True)