PRITHVI-V commited on
Commit
3bb8124
1 Parent(s): 4a305fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def translate_text(tamil_text):
28
 
29
  def generate_creative_writing(english_text):
30
  # Generate creative writing
31
- return 'model.generate_content('poem about ' + english_text).text'
32
 
33
  def generate_image(prompt):
34
  # Make an inference request to generate an image
 
28
 
29
  def generate_creative_writing(english_text):
30
  # Generate creative writing
31
+ return model.generate_content("poem about" + english_text).text
32
 
33
  def generate_image(prompt):
34
  # Make an inference request to generate an image