waleko commited on
Commit
8322ba1
1 Parent(s): 6233848

Remove examples

Browse files
Files changed (1) hide show
  1. app.py +0 -16
app.py CHANGED
@@ -22,22 +22,6 @@ gradio_app = gr.Interface(
22
  outputs=[gr.Json(label="Model output")],
23
  title="En2Ru Scientific Translator",
24
  description="Translate scientific texts from English to Russian",
25
- examples=[
26
- [
27
- r"There is no closed form to implement the KL divergence by the definition of (REF ) and (REF ) for "
28
- r"Gaussian Mixture Models. Instead, we resort to the Monte Carlo simulation method proposed in [1]}. "
29
- r"Then, the KL divergence can be caculated by: \(D_{KL_{MC}}(p||q) =\frac{1}{n} \sum _{i=1}^{n} log("
30
- r"\frac{p(x_i)}{q(x_i)})\) \(D_{KL_{MC}}(q||p) =\frac{1}{n} \sum _{i=1}^{n} log(\frac{q(y_i)}{p(y_i)})\)"],
31
- [
32
- r"Almost all currently used classifiers are not intrinsically well-calibrated [1]}, which means their "
33
- r"output scores can't be interpreted as probabilities. This is an issue when the model is used for "
34
- r"decision making, as a component in a more general probabilistic pipeline, or simply when one needs a "
35
- r"quantification of the uncertainty in model's predictions, for example in high risk applications."],
36
- [
37
- r"First, with the development of the high-torque electric actuators, such as [1]}, [2]} the robots are "
38
- r"becoming more dynamical. These actuators allow them not only to move at high speeds, but also to "
39
- r"rapidly create forces and torques to perform dynamic actions, such as running, jumping, etc."],
40
- ],
41
  )
42
 
43
  if __name__ == "__main__":
 
22
  outputs=[gr.Json(label="Model output")],
23
  title="En2Ru Scientific Translator",
24
  description="Translate scientific texts from English to Russian",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  )
26
 
27
  if __name__ == "__main__":