ThEmpiEric commited on
Commit
b648004
·
verified ·
1 Parent(s): 36e6ad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -54,15 +54,10 @@ custom_role_conversions=None,
54
  )
55
 
56
 
57
- # Carga el tool oficial de text-to-image
58
- image_generation_tool = load_tool(
59
- "huggingface-tools/text-to-image", # Nombre oficial
60
- model="stabilityai/stable-diffusion-xl-base-1.0", # Modelo específico
61
- trust_remote_code=True
62
- )
63
 
64
  # Import tool from Hub
65
- # image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
66
 
67
  with open("prompts.yaml", 'r') as stream:
68
  prompt_templates = yaml.safe_load(stream)
 
54
  )
55
 
56
 
57
+
 
 
 
 
 
58
 
59
  # Import tool from Hub
60
+ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
61
 
62
  with open("prompts.yaml", 'r') as stream:
63
  prompt_templates = yaml.safe_load(stream)