Spaces:
Runtime error
Runtime error
adhisetiawan
commited on
Commit
β’
d2fa0fc
1
Parent(s):
8ce4fda
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
# Install Gradio for creating an interface
|
2 |
-
!pip install -q gradio
|
3 |
-
|
4 |
import gradio as gr
|
5 |
import torch
|
6 |
from transformers import AutoPeftModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
|
|
|
1 |
# Install Gradio for creating an interface
|
|
|
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from transformers import AutoPeftModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
|