yasserrmd commited on
Commit
df4c303
1 Parent(s): b760cb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ async def serve_frontend():
55
  # Route to handle infographic generation
56
  @app.post("/generate")
57
  async def generate_infographic(request: InfographicRequest):
58
- description = request.description
59
  prompt = PROMPT_TEMPLATE.format(description=description)
60
 
61
  messages = [{"role": "user", "content": prompt}]
 
55
  # Route to handle infographic generation
56
  @app.post("/generate")
57
  async def generate_infographic(request: InfographicRequest):
58
+ description = request.description
59
  prompt = PROMPT_TEMPLATE.format(description=description)
60
 
61
  messages = [{"role": "user", "content": prompt}]