Spaces:
Sleeping
Sleeping
tamas.kiss
commited on
Commit
•
67fec6e
1
Parent(s):
b998744
Fix typo
Browse files
app.py
CHANGED
@@ -346,7 +346,7 @@ def text_to_text_generation(verbose, prompt):
|
|
346 |
return f"{modes}\n\n" f"# Answer:\n" f"```bash\n{str_to_md(response)}\n```\n"
|
347 |
|
348 |
res_prompt = create_generation_prompt(response_num, prompt, False)
|
349 |
-
print(f'Prompt given to finetuned model:\n{
|
350 |
res_semantic_search_prompt = create_generation_prompt(response_num, prompt, "semantic_search")
|
351 |
print(f'Prompt given to model with RAG:\n{res_semantic_search_prompt}\n')
|
352 |
res_google_search_prompt = create_generation_prompt(response_num, prompt, "google_search")
|
|
|
346 |
return f"{modes}\n\n" f"# Answer:\n" f"```bash\n{str_to_md(response)}\n```\n"
|
347 |
|
348 |
res_prompt = create_generation_prompt(response_num, prompt, False)
|
349 |
+
print(f'Prompt given to finetuned model:\n{res_prompt}\n')
|
350 |
res_semantic_search_prompt = create_generation_prompt(response_num, prompt, "semantic_search")
|
351 |
print(f'Prompt given to model with RAG:\n{res_semantic_search_prompt}\n')
|
352 |
res_google_search_prompt = create_generation_prompt(response_num, prompt, "google_search")
|