Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,12 +59,12 @@ def answer_astronomy_question(question, max_length=150, temperature=0.7, top_p=0
|
|
| 59 |
|
| 60 |
# Example questions for the interface
|
| 61 |
examples = [
|
| 62 |
-
["What is a black hole?"],
|
| 63 |
-
["What is a constellation?"],
|
| 64 |
-
["What causes auroras on Earth?"],
|
| 65 |
-
["Explain the difference between a planet and a star."],
|
| 66 |
-
["What is the Big Bang theory?"],
|
| 67 |
-
["How do scientists measure the distance to stars?"],
|
| 68 |
]
|
| 69 |
|
| 70 |
# Create Gradio interface
|
|
|
|
| 59 |
|
| 60 |
# Example questions for the interface
|
| 61 |
examples = [
|
| 62 |
+
["What is a black hole?", 150, 0.7, 0.9],
|
| 63 |
+
["What is a constellation?", 150, 0.7, 0.9],
|
| 64 |
+
["What causes auroras on Earth?", 150, 0.7, 0.9],
|
| 65 |
+
["Explain the difference between a planet and a star.", 200, 0.7, 0.9],
|
| 66 |
+
["What is the Big Bang theory?", 200, 0.8, 0.9],
|
| 67 |
+
["How do scientists measure the distance to stars?", 150, 0.7, 0.9],
|
| 68 |
]
|
| 69 |
|
| 70 |
# Create Gradio interface
|