SarahMarzouq commited on
Commit
57b29d0
·
verified ·
1 Parent(s): 7796bb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  # Function to generate the certificate with user input
5
  def generate_certificate(name, id_num, date):
6
  # Open the certificate template (ensure the path is correct)
7
- template = Image.open("ID.png") # Update this path if running locally
8
  draw = ImageDraw.Draw(template)
9
 
10
  # Load font with specified size (ensure you have the TTF file available)
 
4
  # Function to generate the certificate with user input
5
  def generate_certificate(name, id_num, date):
6
  # Open the certificate template (ensure the path is correct)
7
+ template = Image.open("https://huggingface.co/spaces/SarahMarzouq/TechUp_Certificate/resolve/main/ID.png") # Update this path if running locally
8
  draw = ImageDraw.Draw(template)
9
 
10
  # Load font with specified size (ensure you have the TTF file available)