jadechoghari commited on
Commit
fef6275
1 Parent(s): 9960cd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -9
app.py CHANGED
@@ -68,6 +68,10 @@ Official demo for *SEE-2-SOUND 🔊: Zero-Shot Spatial Environment-to-Spatial So
68
  Please refer to our [paper](https://arxiv.org/abs/2406.06612), [project page](https://see2sound.github.io/), or [github](https://github.com/see2sound/see2sound) for more details.
69
  > Note: You should make sure that your hardware supports spatial audio.
70
  This demo allows you to generate spatial audio given an image. Upload an image (with an optional text prompt in the advanced settings) to geenrate spatial audio to accompany the image.
 
 
 
 
71
  """
72
 
73
  css = """
@@ -118,15 +122,15 @@ with gr.Blocks(css=css) as demo:
118
 
119
  # Example inputs, the last two are videos
120
  example = [
121
- ["examples/1.png", "", 500],
122
- ["examples/2.png", "", 500],
123
- ["examples/3.png", "", 500],
124
- ["examples/4.png", "", 500],
125
- ["examples/5.png", "", 500],
126
- ["examples/6.png", "", 500],
127
- ["examples/7.png", "", 500],
128
- ["examples/8.png", "", 500],
129
- ["examples/9.png", "", 500]
130
  ]
131
 
132
  def update_examples(index):
 
68
  Please refer to our [paper](https://arxiv.org/abs/2406.06612), [project page](https://see2sound.github.io/), or [github](https://github.com/see2sound/see2sound) for more details.
69
  > Note: You should make sure that your hardware supports spatial audio.
70
  This demo allows you to generate spatial audio given an image. Upload an image (with an optional text prompt in the advanced settings) to geenrate spatial audio to accompany the image.
71
+
72
+ This forked space contains cached examples.
73
+ Author: [@Rishit-dagli](https://github.com/Rishit-dagli) et al
74
+ cc [@jadechoghari](https://github.com/jadechoghari) for HF/Gradio Issues.
75
  """
76
 
77
  css = """
 
122
 
123
  # Example inputs, the last two are videos
124
  example = [
125
+ ["examples/1.png"],
126
+ ["examples/2.png"],
127
+ ["examples/3.png"],
128
+ ["examples/4.png"],
129
+ ["examples/5.png"],
130
+ ["examples/6.png"],
131
+ ["examples/7.png"],
132
+ ["examples/8.png"],
133
+ ["examples/9.png"]
134
  ]
135
 
136
  def update_examples(index):