Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@
|
|
56 |
# iface = gr.Interface(fn=predict, inputs="text", outputs="text", title="LoRA Model Demo")
|
57 |
# iface.launch()
|
58 |
|
59 |
-
// Here is the new code with intent to optimize
|
60 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
61 |
from peft import PeftModel
|
62 |
import torch
|
|
|
56 |
# iface = gr.Interface(fn=predict, inputs="text", outputs="text", title="LoRA Model Demo")
|
57 |
# iface.launch()
|
58 |
|
59 |
+
# // Here is the new code with intent to optimize
|
60 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
61 |
from peft import PeftModel
|
62 |
import torch
|