Spaces:
Sleeping
Sleeping
Commit
·
4111850
1
Parent(s):
0c1d006
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from torch.utils.data import Dataset, DataLoader, RandomSampler, SequentialSampl
|
|
13 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
14 |
import gradio as gr
|
15 |
|
16 |
-
examples =
|
17 |
|
18 |
def greet(co):
|
19 |
code_text = []
|
|
|
13 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
14 |
import gradio as gr
|
15 |
|
16 |
+
examples = "static int TIFFStartTile(TIFF* tif, uint32 tile) { TIFFDirectory *td = &tif->tif_dir; _TIFFFillStriles( tif ); if ((tif->tif_flags & TIFF_CODERSETUP) == 0) { if (!(*tif->tif_setupdecode)(tif)) return (0); tif->tif_flags |= TIFF_CODERSETUP; } tif->tif_curtile = tile; tif->tif_row =(tile % TIFFhowmany_32(td->td_imagewidth, td->td_tilewidth)) *td->td_tilelength; tif->tif_col =(tile % TIFFhowmany_32(td->td_imagelength, td->td_tilelength)) *td->td_tilewidth; tif->tif_flags &= ~TIFF_BUF4WRITE; if (tif->tif_flags&TIFF_NOREADRAW){ tif->tif_rawcp = NULL; tif->tif_rawcc = 0; }else{ tif->tif_rawcp = tif->tif_rawdata; tif->tif_rawcc = (tmsize_t)td->td_stripbytecounttile; } return ((*tif->tif_predecode)(tif,(uint16)(tile/td->td_stripsperimage))); }"
|
17 |
|
18 |
def greet(co):
|
19 |
code_text = []
|