acecalisto3 commited on
Commit
3caadff
·
verified ·
1 Parent(s): f371208

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -7,6 +7,8 @@ from tqdm import tqdm
7
  import time
8
  import numpy as np
9
  import base64
 
 
10
 
11
  # Defining the repository information and the trigger word
12
  repo = "artificialguybr/LineAniRedmond-LinearMangaSDXL-V2"
@@ -84,7 +86,7 @@ with gr.Blocks() as demo:
84
 
85
  with gr.Row():
86
  svg_display = gr.HTML()
87
- download_button = gr.Download()
88
 
89
  def display_svg(svg_data):
90
  # Encode SVG data in base64 for data URI
 
7
  import time
8
  import numpy as np
9
  import base64
10
+ from gradio import Download
11
+
12
 
13
  # Defining the repository information and the trigger word
14
  repo = "artificialguybr/LineAniRedmond-LinearMangaSDXL-V2"
 
86
 
87
  with gr.Row():
88
  svg_display = gr.HTML()
89
+ download_button = Download()
90
 
91
  def display_svg(svg_data):
92
  # Encode SVG data in base64 for data URI