Ozaii commited on
Commit
2191dcb
·
verified ·
1 Parent(s): cfe5105

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
3
  import torch
4
 
5
  # Load the model and tokenizer from Hugging Face
6
- model_path = "Ozaii/Wali-8B-Uncensored-Model" # Replace with your model path
7
  tokenizer = AutoTokenizer.from_pretrained(model_path)
8
  bnb_config = BitsAndBytesConfig(
9
  load_in_4bit=True,
@@ -92,4 +92,4 @@ with gr.Blocks() as chat_interface:
92
  outputs=[chatbox, chat_history]
93
  )
94
 
95
- chat_interface.launch()
 
3
  import torch
4
 
5
  # Load the model and tokenizer from Hugging Face
6
+ model_path = "Ozaii/Wali-8B-Uncensored" # Replace with your model path
7
  tokenizer = AutoTokenizer.from_pretrained(model_path)
8
  bnb_config = BitsAndBytesConfig(
9
  load_in_4bit=True,
 
92
  outputs=[chatbox, chat_history]
93
  )
94
 
95
+ chat_interface.launch()