BhumikaMak commited on
Commit
9f08712
·
verified ·
1 Parent(s): f1f6573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -16
app.py CHANGED
@@ -81,18 +81,14 @@ custom_css = """
81
  with gr.Blocks(css=custom_css) as interface:
82
  gr.Markdown(
83
  """
84
- # QR Code AI Art Generator
85
- ## 💡 How to generate beautiful QR codes
86
- We use the QR code image as the initial image **and** the control image, which allows you to generate
87
- QR Codes that blend in **very naturally** with your provided prompt.
88
- The strength parameter defines how much noise is added to your QR code and the noisy QR code is then guided towards both your prompt and the QR code image via Controlnet.
89
- Use a high strength value between 0.8 and 0.95 and choose a conditioning scale between 0.6 and 2.0.
90
- This mode arguably achieves the asthetically most appealing QR code images, but also requires more tuning of the controlnet conditioning scale and the strength value. If the generated image
91
- looks way to much like the original QR code, make sure to gently increase the *strength* value and reduce the *conditioning* scale. Also check out the examples below.
92
- model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
93
- <a href="https://huggingface.co/spaces/huggingface-projects/QR-code-AI-art-generator?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
94
- <img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> for no queue on your own hardware.</p>
95
- """
96
  )
97
 
98
  # Default sample
@@ -147,11 +143,10 @@ model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
147
  with gr.Row(elem_classes="custom-row"):
148
  dff_gallery = gr.Gallery(
149
  label="Deep Feature Factorization",
150
- rows=1,
151
- columns=1,
152
  object_fit="fit",
153
- height=150 # Adjust as needed
154
-
155
  )
156
 
157
 
 
81
  with gr.Blocks(css=custom_css) as interface:
82
  gr.Markdown(
83
  """
84
+ # NeuralVista
85
+ ## Welcome to NeuralVista, a powerful tool designed to help you visualize object detection models in action. With the integration of state-of-the-art YOLO models, you can explore the performance of object detection algorithms on various images.
86
+
87
+ Whether you're looking to analyze pre-existing samples or upload your own images,
88
+ NeuralVista allows you to experiment with different YOLO versions, providing you with valuable
89
+ insights into how these models interpret and detect objects. Additionally,
90
+ you can view deep feature factorization outputs and gain a deeper understanding of model behavior at different layers,
91
+ all within an intuitive interface."""
 
 
 
 
92
  )
93
 
94
  # Default sample
 
143
  with gr.Row(elem_classes="custom-row"):
144
  dff_gallery = gr.Gallery(
145
  label="Deep Feature Factorization",
146
+ rows=8, # 8 rows
147
+ columns=1, # 1 image per row
148
  object_fit="fit",
149
+ height="auto" # Adjust as needed
 
150
  )
151
 
152