Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
import spaces
|
| 2 |
-
import zero
|
| 3 |
import gradio as gr
|
| 4 |
import sys
|
| 5 |
import threading
|
|
@@ -170,7 +170,7 @@ def update_page(direction, data):
|
|
| 170 |
return new_image, prev_btn_state, next_btn_state, data
|
| 171 |
|
| 172 |
|
| 173 |
-
@spaces.GPU(duration=600)
|
| 174 |
def generate_music(period, composer, instrumentation):
|
| 175 |
"""
|
| 176 |
Must ensure each yield returns the same number of values.
|
|
|
|
| 1 |
+
# import spaces
|
| 2 |
+
# import zero
|
| 3 |
import gradio as gr
|
| 4 |
import sys
|
| 5 |
import threading
|
|
|
|
| 170 |
return new_image, prev_btn_state, next_btn_state, data
|
| 171 |
|
| 172 |
|
| 173 |
+
# @spaces.GPU(duration=600)
|
| 174 |
def generate_music(period, composer, instrumentation):
|
| 175 |
"""
|
| 176 |
Must ensure each yield returns the same number of values.
|