Spaces:
Runtime error
Runtime error
support all the checkpoints fine-tuned on TextCaps 5K.
Browse files- app.py +1 -1
- textcaps5K_epoch_20_model_wo_ema.ckpt +3 -0
app.py
CHANGED
@@ -22,7 +22,7 @@ def process_multi_wrapper(rendered_txt_0, rendered_txt_1, rendered_txt_2, render
|
|
22 |
shared_eta, shared_a_prompt, shared_n_prompt):
|
23 |
global ALLOW_RUN_GENERATION
|
24 |
if not ALLOW_RUN_GENERATION:
|
25 |
-
return "Please get the glyph image first by clicking the '
|
26 |
|
27 |
rendered_txt_values = [rendered_txt_0, rendered_txt_1, rendered_txt_2, rendered_txt_3]
|
28 |
width_values = [width_0, width_1, width_2, width_3]
|
|
|
22 |
shared_eta, shared_a_prompt, shared_n_prompt):
|
23 |
global ALLOW_RUN_GENERATION
|
24 |
if not ALLOW_RUN_GENERATION:
|
25 |
+
return "Please get the glyph image first by clicking the 'Render Glyph Image' button", None
|
26 |
|
27 |
rendered_txt_values = [rendered_txt_0, rendered_txt_1, rendered_txt_2, rendered_txt_3]
|
28 |
width_values = [width_0, width_1, width_2, width_3]
|
textcaps5K_epoch_20_model_wo_ema.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85c887aa42db7afbed071629bcf5a07cfccdcdc80216475d8a2536fed75cc600
|
3 |
+
size 6671914001
|