Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ Moss Speech Demo - Multimodal Speech Interaction System
|
|
4 |
Main Program Entry
|
5 |
"""
|
6 |
|
|
|
7 |
import argparse
|
8 |
import os
|
9 |
import sys
|
@@ -13,6 +14,9 @@ sys.path.append("/home/user/app/Matcha-TTS")
|
|
13 |
|
14 |
from utils.interface import MIMOInterface
|
15 |
|
|
|
|
|
|
|
16 |
|
17 |
def parse_args():
|
18 |
parser = argparse.ArgumentParser(description="Moss Speech Demo")
|
|
|
4 |
Main Program Entry
|
5 |
"""
|
6 |
|
7 |
+
import spaces
|
8 |
import argparse
|
9 |
import os
|
10 |
import sys
|
|
|
14 |
|
15 |
from utils.interface import MIMOInterface
|
16 |
|
17 |
+
@spaces.GPU(duration=1)
|
18 |
+
def keep_spaces_happy():
|
19 |
+
pass
|
20 |
|
21 |
def parse_args():
|
22 |
parser = argparse.ArgumentParser(description="Moss Speech Demo")
|