teticio commited on
Commit
c618cc1
1 Parent(s): b7c9dfd
Files changed (1) hide show
  1. notebooks/test_model.ipynb +8 -8
notebooks/test_model.ipynb CHANGED
@@ -90,7 +90,7 @@
90
  {
91
  "cell_type": "code",
92
  "execution_count": null,
93
- "id": "6e16ed0e",
94
  "metadata": {},
95
  "outputs": [],
96
  "source": [
@@ -181,7 +181,7 @@
181
  },
182
  {
183
  "cell_type": "markdown",
184
- "id": "c3b05163",
185
  "metadata": {},
186
  "source": [
187
  "### Generate continuations (\"out-painting\")"
@@ -190,7 +190,7 @@
190
  {
191
  "cell_type": "code",
192
  "execution_count": null,
193
- "id": "4add9643",
194
  "metadata": {},
195
  "outputs": [],
196
  "source": [
@@ -275,23 +275,23 @@
275
  " start_step=start_step,\n",
276
  " generator=generator,\n",
277
  " mask_start_secs=overlap_secs if len(track) > 0 else 0)\n",
278
- " display(Audio(audio2http://localhost:8889/notebooks/huggingface/audio-diffusion/notebooks/test_model.ipynb#, rate=sample_rate))\n",
279
  " track = np.concatenate([track, audio2[overlap_samples:]])"
280
  ]
281
  },
282
  {
283
  "cell_type": "code",
284
  "execution_count": null,
285
- "id": "6e54802a",
286
  "metadata": {},
287
  "outputs": [],
288
  "source": [
289
- "Audio(track, rate=sample_rate)"
290
  ]
291
  },
292
  {
293
  "cell_type": "markdown",
294
- "id": "2147bddb",
295
  "metadata": {},
296
  "source": [
297
  "### Fill the gap (\"in-painting\")"
@@ -300,7 +300,7 @@
300
  {
301
  "cell_type": "code",
302
  "execution_count": null,
303
- "id": "c9de4e17",
304
  "metadata": {},
305
  "outputs": [],
306
  "source": [
 
90
  {
91
  "cell_type": "code",
92
  "execution_count": null,
93
+ "id": "e2290aec",
94
  "metadata": {},
95
  "outputs": [],
96
  "source": [
 
181
  },
182
  {
183
  "cell_type": "markdown",
184
+ "id": "5c428c57",
185
  "metadata": {},
186
  "source": [
187
  "### Generate continuations (\"out-painting\")"
 
190
  {
191
  "cell_type": "code",
192
  "execution_count": null,
193
+ "id": "db4e401b",
194
  "metadata": {},
195
  "outputs": [],
196
  "source": [
 
275
  " start_step=start_step,\n",
276
  " generator=generator,\n",
277
  " mask_start_secs=overlap_secs if len(track) > 0 else 0)\n",
278
+ " display(Audio(audio2, rate=sample_rate))\n",
279
  " track = np.concatenate([track, audio2[overlap_samples:]])"
280
  ]
281
  },
282
  {
283
  "cell_type": "code",
284
  "execution_count": null,
285
+ "id": "ec44becb",
286
  "metadata": {},
287
  "outputs": [],
288
  "source": [
289
+ "display(Audio(track, rate=sample_rate))"
290
  ]
291
  },
292
  {
293
  "cell_type": "markdown",
294
+ "id": "d189602f",
295
  "metadata": {},
296
  "source": [
297
  "### Fill the gap (\"in-painting\")"
 
300
  {
301
  "cell_type": "code",
302
  "execution_count": null,
303
+ "id": "85b318fc",
304
  "metadata": {},
305
  "outputs": [],
306
  "source": [