khurrameycon commited on
Commit
0ef7e23
·
verified ·
1 Parent(s): 61d3a01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  from fastapi import FastAPI, HTTPException
2
  from pydantic import BaseModel
3
- from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer, PeftModel
 
4
 
5
  class ModelInput(BaseModel):
6
  prompt: str
 
1
  from fastapi import FastAPI, HTTPException
2
  from pydantic import BaseModel
3
+ from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
4
+ from peft import PeftModel
5
 
6
  class ModelInput(BaseModel):
7
  prompt: str