Tonic commited on
Commit
6ebcdab
1 Parent(s): 7d0b03f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -3,8 +3,10 @@ import torch
3
  import gradio as gr
4
  import random
5
  from textwrap import wrap
6
- import random
7
-
 
 
8
  # Functions to Wrap the Prompt Correctly
9
 
10
  def wrap_text(text, width=90):
 
3
  import gradio as gr
4
  import random
5
  from textwrap import wrap
6
+ from transformers import AutoConfig, AutoTokenizer, AutoModelForSeq2SeqLM, AutoModelForCausalLM, MistralForCausalLM
7
+ from peft import PeftModel, PeftConfig
8
+ import torch
9
+ import gradio as gr
10
  # Functions to Wrap the Prompt Correctly
11
 
12
  def wrap_text(text, width=90):