Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ app = Flask(__name__)
|
|
| 6 |
|
| 7 |
# Load models
|
| 8 |
hebrew_model = pipeline("text-generation", model="onlplab/alephbert-base")
|
| 9 |
-
english_model = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct")
|
| 10 |
|
| 11 |
@app.route("/ask", methods=["POST"])
|
| 12 |
def ask():
|
|
|
|
| 6 |
|
| 7 |
# Load models
|
| 8 |
hebrew_model = pipeline("text-generation", model="onlplab/alephbert-base")
|
| 9 |
+
english_model = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3")
|
| 10 |
|
| 11 |
@app.route("/ask", methods=["POST"])
|
| 12 |
def ask():
|