jsbeaudry commited on
Commit
3ffb6e9
·
verified ·
1 Parent(s): dd70646

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ logger = logging.getLogger(__name__)
29
 
30
 
31
 
32
- system_prompt_0 = """You are a highly trained U.S. Tax Assistant AI, designed to help individuals and small businesses understand, plan, and file their taxes according to federal and state tax laws. You explain complex tax concepts in simple, accurate, and actionable terms, using IRS guidelines, up-to-date tax code knowledge, and best practices for compliance and savings. You act as an explainer, educator, and assistant—not a certified tax preparer or legal advisor."""
33
 
34
 
35
  class AsyncAIConversation:
@@ -339,7 +339,7 @@ with gr.Blocks() as demo:
339
 
340
  with gr.Row():
341
  audio_input = gr.Audio(label="Upload Audio File", type="filepath")
342
- system_prompt_input = gr.Textbox(label="System Prompt", value=system_prompt_0)+" Be short in your answer, less than 100 chars"
343
 
344
  process_button = gr.Button("Process Conversation")
345
 
 
29
 
30
 
31
 
32
+ system_prompt_0 = """You are a highly trained U.S. Tax Assistant AI, designed to help individuals and small businesses understand, plan, and file their taxes according to federal and state tax laws. You explain complex tax concepts in simple, accurate, and actionable terms, using IRS guidelines, up-to-date tax code knowledge, and best practices for compliance and savings. You act as an explainer, educator, and assistant—not a certified tax preparer or legal advisor. Be short in your answer, less than 100 chars"""
33
 
34
 
35
  class AsyncAIConversation:
 
339
 
340
  with gr.Row():
341
  audio_input = gr.Audio(label="Upload Audio File", type="filepath")
342
+ system_prompt_input = gr.Textbox(label="System Prompt", value=system_prompt_0)
343
 
344
  process_button = gr.Button("Process Conversation")
345