Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,10 +56,14 @@ with gr.Blocks(theme=gr.themes.Ocean(primary_hue="pink", neutral_hue="indigo", f
|
|
| 56 |
temp_audio_path = temp_audio_file.name
|
| 57 |
|
| 58 |
return temp_audio_path
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
|
| 61 |
button.click(describir, [textbox], output)
|
| 62 |
button2.click(leer, [output], output2)
|
| 63 |
-
button3.click([textbox],image)
|
| 64 |
|
| 65 |
demo.launch(debug=True)
|
|
|
|
| 56 |
temp_audio_path = temp_audio_file.name
|
| 57 |
|
| 58 |
return temp_audio_path
|
| 59 |
+
|
| 60 |
+
def loadimage(url):
|
| 61 |
+
image_url = url
|
| 62 |
+
return image_url
|
| 63 |
|
| 64 |
|
| 65 |
button.click(describir, [textbox], output)
|
| 66 |
button2.click(leer, [output], output2)
|
| 67 |
+
button3.click(loadimage, [textbox],image)
|
| 68 |
|
| 69 |
demo.launch(debug=True)
|