Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
2 |
from peft import LoraConfig, get_peft_model, prepare_model_for_kbit_training
|
3 |
import torch
|
|
|
|
|
4 |
# from huggingface_hub import log
|
5 |
|
6 |
# Cấu hình mô hình
|
|
|
1 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
2 |
from peft import LoraConfig, get_peft_model, prepare_model_for_kbit_training
|
3 |
import torch
|
4 |
+
import gradio as gr
|
5 |
+
|
6 |
# from huggingface_hub import log
|
7 |
|
8 |
# Cấu hình mô hình
|