Spaces:
Sleeping
Sleeping
Commit
·
62a8ed8
1
Parent(s):
28e6ba7
debug tokenizer not found
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
# app.py (second app by claude)
|
2 |
import gradio as gr
|
|
|
3 |
|
4 |
# ==================================================================================-
|
5 |
# inference code part-1
|
@@ -60,7 +61,6 @@ import json
|
|
60 |
from transformers import PreTrainedTokenizerFast
|
61 |
|
62 |
|
63 |
-
import torch
|
64 |
import torch.nn as nn
|
65 |
from torch.utils.data import Dataset, DataLoader
|
66 |
import matplotlib.pyplot as plt
|
|
|
1 |
# app.py (second app by claude)
|
2 |
import gradio as gr
|
3 |
+
import torch
|
4 |
|
5 |
# ==================================================================================-
|
6 |
# inference code part-1
|
|
|
61 |
from transformers import PreTrainedTokenizerFast
|
62 |
|
63 |
|
|
|
64 |
import torch.nn as nn
|
65 |
from torch.utils.data import Dataset, DataLoader
|
66 |
import matplotlib.pyplot as plt
|