Spaces:
Running
Running
Pclanglais
commited on
Commit
•
23de817
1
Parent(s):
13a82e8
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
-
import transformers
|
2 |
import re
|
3 |
-
from transformers import
|
4 |
from vllm import LLM, SamplingParams
|
5 |
import torch
|
6 |
import gradio as gr
|
|
|
|
|
1 |
import re
|
2 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, AutoConfig, AutoModel, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
|
3 |
from vllm import LLM, SamplingParams
|
4 |
import torch
|
5 |
import gradio as gr
|