ttoosi commited on
Commit
940c93e
·
verified ·
1 Parent(s): 1d701fe

Upload 2 files

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -112,7 +112,7 @@ examples = [
112
  {
113
  "image": os.path.join("stimuli", "Confetti_illusion.png"),
114
  "name": "Confetti Illusion",
115
- "wiki": "https://en.wikipedia.org/wiki/Optical_illusion",
116
  "papers": [
117
  "[Color Perception](https://doi.org/10.1016/j.visres.2000.200.1)",
118
  "[Context Effects](https://doi.org/10.1016/j.tics.2003.08.003)"
@@ -263,8 +263,8 @@ with gr.Blocks(title="Generative Inference Demo", css="""
263
  gr.Markdown("""
264
  **How to use this demo:**
265
  - **Load pre-configured examples**: Click on any visual illusion below and hit "Load Parameters" to automatically set up the optimal parameters for that illusion
266
- - **Upload your own images**: Use the image upload area to test your own images with different parameter settings
267
- - **Experiment with parameters**: Adjust the inference method, iterations, noise levels, and other parameters to see how they affect the generative inference process
268
  """)
269
 
270
  # Main processing interface
@@ -305,7 +305,7 @@ with gr.Blocks(title="Generative Inference Demo", css="""
305
  label="Model Layer"
306
  )
307
 
308
- run_button = gr.Button("Run Inference", variant="primary", elem_classes="purple-button")
309
 
310
  with gr.Column(scale=2):
311
  # Outputs
 
112
  {
113
  "image": os.path.join("stimuli", "Confetti_illusion.png"),
114
  "name": "Confetti Illusion",
115
+ "wiki": "https://www.youtube.com/watch?v=SvEiEi8O7QE",
116
  "papers": [
117
  "[Color Perception](https://doi.org/10.1016/j.visres.2000.200.1)",
118
  "[Context Effects](https://doi.org/10.1016/j.tics.2003.08.003)"
 
263
  gr.Markdown("""
264
  **How to use this demo:**
265
  - **Load pre-configured examples**: Click on any visual illusion below and hit "Load Parameters" to automatically set up the optimal parameters for that illusion
266
+ - **Run the inference**: After loading parameters or setting your own, hit "Run Inference" to start the generative inference process
267
+ - **You can also upload your own images** and experiment with different parameters to see how they affect the generative inference process
268
  """)
269
 
270
  # Main processing interface
 
305
  label="Model Layer"
306
  )
307
 
308
+ run_button = gr.Button("🪄 Run Inference", variant="primary", elem_classes="purple-button")
309
 
310
  with gr.Column(scale=2):
311
  # Outputs