Spaces:
Runtime error
Runtime error
albertperezlozano
commited on
Commit
Β·
e7bfbae
1
Parent(s):
5a5a020
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from peft import PeftModel, PeftConfig
|
|
|
4 |
|
5 |
|
6 |
peft_model_id = f"IThinkUPC/SQLGenerator-AI"
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from peft import PeftModel, PeftConfig
|
4 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
5 |
|
6 |
|
7 |
peft_model_id = f"IThinkUPC/SQLGenerator-AI"
|