jfforero commited on
Commit
3cedbc6
1 Parent(s): 0d921ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def generate_image(emotion_prediction, transcribed_text, output_resolution=(1024
78
  image_file_path = f'TAI_Images/TerraIncognita{random.randint(0, 9)}.jpg'
79
  files = {
80
  'image': open(image_file_path, 'rb'),
81
- 'text': "Add Patagonian Monsters' with a "+ emotion_prediction + " attitude, representing the idea of: [" + transcribed_text + "]. Use a Jack Vettriano style. \n\n Record your voice with a sentence imagining Patagonia."
82
 
83
  }
84
  response = requests.post(url, headers=headers, files=files)
 
78
  image_file_path = f'TAI_Images/TerraIncognita{random.randint(0, 9)}.jpg'
79
  files = {
80
  'image': open(image_file_path, 'rb'),
81
+ 'text': "Generate Patagonian Monsters' with a " + emotion_prediction + " attitude, representing the idea of: [ "+ transcribed_text + "]. Illustrate this using asemic writings in an old map style."
82
 
83
  }
84
  response = requests.post(url, headers=headers, files=files)