Arnesh27 commited on
Commit
77ab936
·
verified ·
1 Parent(s): 0357904

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ model.to(device)
17
 
18
  def generate_code(prompt):
19
  # Refined prompt
20
- full_prompt = f"Please generate a basic HTML template for a personal blog. The output should be only the HTML code."
21
 
22
  # Tokenize the input
23
  input_tensor = tokenizer(full_prompt, return_tensors="pt", padding=True, truncation=True).to(device)
 
17
 
18
  def generate_code(prompt):
19
  # Refined prompt
20
+ full_prompt = f"Please generate a basic HTML template for a personal blog, including a header, main content area for posts, and a footer. The output should be only the HTML code."
21
 
22
  # Tokenize the input
23
  input_tensor = tokenizer(full_prompt, return_tensors="pt", padding=True, truncation=True).to(device)