Spaces:
Build error
Build error
Remove translation for speed
Browse files
app.py
CHANGED
@@ -87,8 +87,8 @@ def find_my_rotation(department: str, farmSize: float, benefitsFromCommonAgricul
|
|
87 |
prompt = create_prompt(farmSize, cultures)
|
88 |
# Question the model
|
89 |
response = query_engine.query(prompt)
|
90 |
-
prompt = 'Traduis cette réponse en français: ' + response.response
|
91 |
-
response = query_engine.query(prompt)
|
92 |
return response
|
93 |
|
94 |
|
|
|
87 |
prompt = create_prompt(farmSize, cultures)
|
88 |
# Question the model
|
89 |
response = query_engine.query(prompt)
|
90 |
+
#prompt = 'Traduis cette réponse en français: ' + response.response
|
91 |
+
#response = query_engine.query(prompt)
|
92 |
return response
|
93 |
|
94 |
|