SandraCLV commited on
Commit
2bf66ba
·
1 Parent(s): c695aa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def text_to_speech(language: str, repo_id: str, text: str, sid: str, speed: floa
68
 
69
  with gr.Blocks() as demo:
70
  language_choices = list(language_to_models.keys())
71
- inputsImg=gr.Image(type='PIL')
72
  idx=0
73
  text_output = image_to_text_model(inputsImg)[0]
74
  print(text_output)
 
68
 
69
  with gr.Blocks() as demo:
70
  language_choices = list(language_to_models.keys())
71
+ inputsImg=gr.Image()
72
  idx=0
73
  text_output = image_to_text_model(inputsImg)[0]
74
  print(text_output)