Docfile commited on
Commit
3fd48fe
·
verified ·
1 Parent(s): 9ce0580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -5,7 +5,10 @@ def generate_data(subject, input_field, difficulty):
5
  print("Sujet:", subject)
6
  print("Input:", input_field)
7
  print("Difficulté:", difficulty)
8
- return "Données reçues avec succès !"
 
 
 
9
 
10
  # Créer l'interface utilisateur Gradio
11
 
 
5
  print("Sujet:", subject)
6
  print("Input:", input_field)
7
  print("Difficulté:", difficulty)
8
+
9
+ q = """When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are
10
+ $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$"""
11
+ return q
12
 
13
  # Créer l'interface utilisateur Gradio
14