c1tr0n75 commited on
Commit
897b1c0
·
verified ·
1 Parent(s): 4bd3853

getting back to template 1

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,9 +25,9 @@ def generate_visual_minutes(api_key, transcript_file):
25
  raise gr.Error("Please upload a transcript file.")
26
 
27
  # Load the fixed template from the repository
28
- template_path = Path(__file__).parent / "template_2.jpg"
29
  if not template_path.exists():
30
- raise gr.Error("Template file (template_2.jpg) not found in the repository.")
31
 
32
  try:
33
  template_image = Image.open(template_path)
@@ -46,7 +46,7 @@ def generate_visual_minutes(api_key, transcript_file):
46
  You are an expert visual facilitator creating graphic recording minutes for a meeting.
47
 
48
  **Task:**
49
- Generate a final image that looks exactly like the provided layout image (`template_2.jpg`), but with all the boxes and sections filled in with summarized information extracted from the provided `transcript_content`.
50
 
51
  **Input Transcript:**
52
  \"\"\"
 
25
  raise gr.Error("Please upload a transcript file.")
26
 
27
  # Load the fixed template from the repository
28
+ template_path = Path(__file__).parent / "template.jpg"
29
  if not template_path.exists():
30
+ raise gr.Error("Template file (template.jpg) not found in the repository.")
31
 
32
  try:
33
  template_image = Image.open(template_path)
 
46
  You are an expert visual facilitator creating graphic recording minutes for a meeting.
47
 
48
  **Task:**
49
+ Generate a final image that looks exactly like the provided layout image (`template.jpg`), but with all the boxes and sections filled in with summarized information extracted from the provided `transcript_content`.
50
 
51
  **Input Transcript:**
52
  \"\"\"