Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -34,7 +34,7 @@ CORS(app)
|
|
34 |
@app.route('/')
|
35 |
def home():
|
36 |
return jsonify({"message": "Welcome to the Recommendation API!"})
|
37 |
-
|
38 |
|
39 |
def format_prompt(message):
|
40 |
# Generate a random user prompt and bot response pair
|
@@ -200,7 +200,6 @@ def get_streams():
|
|
200 |
|
201 |
|
202 |
|
203 |
-
|
204 |
@app.route('/get_education_profiles', methods=['GET'])
|
205 |
def get_education_profiles():
|
206 |
temperature = 0.9
|
|
|
34 |
@app.route('/')
|
35 |
def home():
|
36 |
return jsonify({"message": "Welcome to the Recommendation API!"})
|
37 |
+
|
38 |
|
39 |
def format_prompt(message):
|
40 |
# Generate a random user prompt and bot response pair
|
|
|
200 |
|
201 |
|
202 |
|
|
|
203 |
@app.route('/get_education_profiles', methods=['GET'])
|
204 |
def get_education_profiles():
|
205 |
temperature = 0.9
|