alimrb commited on
Commit
09c9222
1 Parent(s): ee206ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import torch
2
  from peft import PeftModel, PeftConfig
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
 
5
- peft_model_id = f"FourthBrainGenAI/MarketMail-AI-Model"
6
  config = PeftConfig.from_pretrained(peft_model_id)
7
  model = AutoModelForCausalLM.from_pretrained(
8
  config.base_model_name_or_path,
@@ -38,6 +38,6 @@ if __name__ == "__main__":
38
  gr.inputs.Textbox(lines=5, label="Product Description"),
39
  ],
40
  gr.outputs.Textbox(label="Ad"),
41
- title="GenerAd-AI",
42
- description="GenerAd-AI is a generative model that generates ads for products.",
43
  ).launch()
 
2
  from peft import PeftModel, PeftConfig
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
 
5
+ peft_model_id = f"alimrb/eff24"
6
  config = PeftConfig.from_pretrained(peft_model_id)
7
  model = AutoModelForCausalLM.from_pretrained(
8
  config.base_model_name_or_path,
 
38
  gr.inputs.Textbox(lines=5, label="Product Description"),
39
  ],
40
  gr.outputs.Textbox(label="Ad"),
41
+ title="EFF24",
42
+ description="EFF24 is a generative model that generates ads for products.",
43
  ).launch()