Spaces:
Sleeping
Sleeping
hoduyquocbao
commited on
Commit
•
e08a440
1
Parent(s):
a9907f7
new version update
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ AVAILABLE_FUNCTIONS = {
|
|
62 |
"get_user_info": get_user_info
|
63 |
}
|
64 |
|
65 |
-
@spaces.GPU(duration=
|
66 |
def generate(
|
67 |
message: str,
|
68 |
chat_history: List[Tuple[str, str]],
|
|
|
62 |
"get_user_info": get_user_info
|
63 |
}
|
64 |
|
65 |
+
@spaces.GPU(duration=10) # Chỉ định hàm này chạy trên GPU trong tối đa 90 giây
|
66 |
def generate(
|
67 |
message: str,
|
68 |
chat_history: List[Tuple[str, str]],
|