Spaces:
Build error
Build error
aa
Browse files
app.py
CHANGED
@@ -57,10 +57,10 @@ def whisper_stt(audio):
|
|
57 |
# LLM - Bloom Response
|
58 |
def lang_model_response(prompt):
|
59 |
print(f"*****Inside lang_model_response - Prompt is :{prompt}")
|
60 |
-
p = """
|
61 |
-
text: """
|
62 |
-
|
63 |
-
prompt = prompt + "\n"
|
64 |
|
65 |
if len(prompt) == 0:
|
66 |
prompt = """Can you help me please?"""
|
|
|
57 |
# LLM - Bloom Response
|
58 |
def lang_model_response(prompt):
|
59 |
print(f"*****Inside lang_model_response - Prompt is :{prompt}")
|
60 |
+
p = """If the following text is a question reply with an answer, else complete the sentence.
|
61 |
+
this is the text: """
|
62 |
+
prompt = p + prompt #+ "\n" #+ "Response: "
|
63 |
+
#prompt = prompt + "\n"
|
64 |
|
65 |
if len(prompt) == 0:
|
66 |
prompt = """Can you help me please?"""
|