Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def generate(
|
|
51 |
num_beams=1,
|
52 |
repetition_penalty=repetition_penalty,
|
53 |
)
|
54 |
-
t = Thread(target=model.
|
55 |
t.start()
|
56 |
|
57 |
outputs = []
|
|
|
51 |
num_beams=1,
|
52 |
repetition_penalty=repetition_penalty,
|
53 |
)
|
54 |
+
t = Thread(target=model.generate_protein_description, kwargs=generate_kwargs)
|
55 |
t.start()
|
56 |
|
57 |
outputs = []
|