Update app.py
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import os
|
|
| 4 |
from typing import Generator
|
| 5 |
|
| 6 |
# Initialize Inference API client
|
| 7 |
-
model = "
|
| 8 |
-
|
| 9 |
|
| 10 |
def generate_astronomy_explanation(prompt: str) -> Generator[str, None, None]:
|
| 11 |
"""
|
|
|
|
| 4 |
from typing import Generator
|
| 5 |
|
| 6 |
# Initialize Inference API client
|
| 7 |
+
model = "xai-org/grok-2" # Conversational model for astronomy queries
|
| 8 |
+
|
| 9 |
|
| 10 |
def generate_astronomy_explanation(prompt: str) -> Generator[str, None, None]:
|
| 11 |
"""
|