lazerthingy commited on
Commit
4784e47
·
verified ·
1 Parent(s): 0e88486

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the model
5
- model = pipeline("text-generation", model="vedant-jumle/gemma-alpaca-uncensored")
6
 
7
  def generate_text(prompt, max_length=100, temperature=0.7):
8
  """Generate text based on the input prompt."""
@@ -18,8 +18,8 @@ iface = gr.Interface(
18
  gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature")
19
  ],
20
  outputs=gr.Textbox(label="Generated Text"),
21
- title="Gemma Alpaca Uncensored Text Generator",
22
- description="Generate text using the vedant-jumle/gemma-alpaca-uncensored model."
23
  )
24
 
25
  # Launch the app
 
2
  from transformers import pipeline
3
 
4
  # Load the model
5
+ model = pipeline("text-generation", model="Orenguteng/Llama-3.1-8B-Lexi-Uncensored")
6
 
7
  def generate_text(prompt, max_length=100, temperature=0.7):
8
  """Generate text based on the input prompt."""
 
18
  gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature")
19
  ],
20
  outputs=gr.Textbox(label="Generated Text"),
21
+ title="Uncensored Llama Chat",
22
+ description="Uncensored Llama 3.1 8B."
23
  )
24
 
25
  # Launch the app