Spaces:
Sleeping
Sleeping
abrakjamson
commited on
Commit
•
286d976
1
Parent(s):
c50cfb4
Adding textiteratorstreamer
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
import re
|
3 |
import torch
|
4 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
5 |
from repeng import ControlVector, ControlModel
|
6 |
import gradio as gr
|
7 |
|
|
|
1 |
import os
|
2 |
import re
|
3 |
import torch
|
4 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
5 |
from repeng import ControlVector, ControlModel
|
6 |
import gradio as gr
|
7 |
|