Spaces:
Sleeping
Sleeping
alfredplpl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
import spaces
|
|
|
6 |
from transformers import AutoModel, AutoTokenizer, TextIteratorStreamer
|
7 |
from threading import Thread
|
8 |
from peft import AutoPeftModelForCausalLM
|
|
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
import spaces
|
6 |
+
import torch
|
7 |
from transformers import AutoModel, AutoTokenizer, TextIteratorStreamer
|
8 |
from threading import Thread
|
9 |
from peft import AutoPeftModelForCausalLM
|