Simonlob commited on
Commit
8991c56
·
verified ·
1 Parent(s): ff008a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ iface = gr.Interface(
77
  gr.Textbox(label="Fill Color (optional)", placeholder="e.g., 'blue', '#FF0000'"),
78
  gr.Textbox(label="Background Color (optional)", placeholder="e.g., 'white', '#FFFFFF'")
79
  ],
80
- outputs=gr.Image(label="QR Code", type="filepath"),
81
  title="QR Code Generator",
82
  description="Generate a QR code from a URL or text with optional color customization.",
83
  # Optional: Specify file type
 
77
  gr.Textbox(label="Fill Color (optional)", placeholder="e.g., 'blue', '#FF0000'"),
78
  gr.Textbox(label="Background Color (optional)", placeholder="e.g., 'white', '#FFFFFF'")
79
  ],
80
+ outputs=gr.Image(label="QR Code", type="numpy"),
81
  title="QR Code Generator",
82
  description="Generate a QR code from a URL or text with optional color customization.",
83
  # Optional: Specify file type