Commit
·
5a0923a
1
Parent(s):
dea96c1
Refactor generate_instruction_response function and optimize Gradio demo description
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ terminators = [
|
|
36 |
@spaces.GPU
|
37 |
def generate_instruction_response():
|
38 |
prompt_info = (
|
39 |
-
f"Generating a user prompt from the LLM via the template `{extract_input}
|
40 |
)
|
41 |
yield prompt_info
|
42 |
instruction = pipeline(
|
|
|
36 |
@spaces.GPU
|
37 |
def generate_instruction_response():
|
38 |
prompt_info = (
|
39 |
+
f"Generating a user prompt from the LLM via the template `{extract_input}` \n\n"
|
40 |
)
|
41 |
yield prompt_info
|
42 |
instruction = pipeline(
|