Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,6 +176,10 @@ class PredictiveAgent:
|
|
| 176 |
topics = self._top_topics_from_bank(question_bank or [], subject) if question_bank else []
|
| 177 |
return {"level": level, "subject": subject, "top_topics": topics, "note": "Predictions are practice-oriented heuristics."}
|
| 178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
|
| 180 |
|
| 181 |
|
|
|
|
| 176 |
topics = self._top_topics_from_bank(question_bank or [], subject) if question_bank else []
|
| 177 |
return {"level": level, "subject": subject, "top_topics": topics, "note": "Predictions are practice-oriented heuristics."}
|
| 178 |
|
| 179 |
+
if __name__ == "__main__":
|
| 180 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|
| 181 |
+
|
| 182 |
+
|
| 183 |
|
| 184 |
|
| 185 |
|