davanstrien HF staff commited on
Commit
b8ec3bd
·
verified ·
1 Parent(s): aa1742a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -66,6 +66,14 @@ This approach enhances model performance and generalization, particularly benefi
66
  Try it out by entering some text below!
67
  """
68
 
 
 
 
 
 
 
 
 
69
  # Create Gradio interface
70
  iface = gr.Interface(
71
  fn=generate_pairs,
 
66
  Try it out by entering some text below!
67
  """
68
 
69
+
70
+ examples = [
71
+ "Hugging Face, Inc. is a French-American company incorporated under the Delaware General Corporation Law[1] and based in New York City that develops computation tools for building applications using machine learning. It is most notable for its transformers library built for natural language processing applications and its platform that allows users to share machine learning models and datasets and showcase their work.",
72
+ "In order to make your Space work with ZeroGPU you need to decorate the Python functions that actually require a GPU with @spaces.GPU
73
+ During the time when a decorated function is invoked, the Space will be attributed a GPU, and it will release it upon completion of the function.",
74
+ "A spectre is haunting Europe – the spectre of communism. All the powers of old Europe have entered into a holy alliance to exorcise this spectre: Pope and Tsar, Metternich and Guizot, French Radicals and German police-spies"
75
+ ]
76
+
77
  # Create Gradio interface
78
  iface = gr.Interface(
79
  fn=generate_pairs,