Spaces:
Running
on
Zero
Running
on
Zero
chaojiemao
commited on
Commit
•
929f992
1
Parent(s):
396300a
Update app.py
Browse files
app.py
CHANGED
@@ -528,7 +528,7 @@ class ChatBotUI(object):
|
|
528 |
def set_callbacks(self, *args, **kwargs):
|
529 |
|
530 |
########################################
|
531 |
-
|
532 |
def change_model(model_name):
|
533 |
if model_name not in self.model_choices:
|
534 |
gr.Info('The provided model name is not a valid choice!')
|
|
|
528 |
def set_callbacks(self, *args, **kwargs):
|
529 |
|
530 |
########################################
|
531 |
+
#@spaces.GPU(duration=60)
|
532 |
def change_model(model_name):
|
533 |
if model_name not in self.model_choices:
|
534 |
gr.Info('The provided model name is not a valid choice!')
|