Spaces:
Running
on
A100
Running
on
A100
Commit
·
eabc75d
1
Parent(s):
6a3d39e
Update default max_regenerations
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ def main():
|
|
39 |
print('Running in Hugging Face Space, setting up environment...')
|
40 |
setup()
|
41 |
|
42 |
-
model_cfg = LegoGPTConfig()
|
43 |
-
model = LegoGPT(
|
44 |
|
45 |
def generate_lego(
|
46 |
prompt: str,
|
|
|
39 |
print('Running in Hugging Face Space, setting up environment...')
|
40 |
setup()
|
41 |
|
42 |
+
model_cfg = LegoGPTConfig(max_regenerations=10)
|
43 |
+
model = LegoGPT(model_cfg)
|
44 |
|
45 |
def generate_lego(
|
46 |
prompt: str,
|