Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
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 |
|