Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def caption_en_francais(image, model_name):
|
|
| 21 |
return caption_fra
|
| 22 |
|
| 23 |
# Interface 1 : Captioning en anglais
|
| 24 |
-
|
| 25 |
anglais_interface = gr.Interface(
|
| 26 |
fn=caption_en_anglais,
|
| 27 |
inputs=[
|
|
@@ -49,8 +49,8 @@ francais_interface = gr.Interface(
|
|
| 49 |
demo = gr.TabbedInterface(
|
| 50 |
interface_list=[anglais_interface, francais_interface],
|
| 51 |
tab_names=["Captioning Anglais", "Captioning Français"],
|
| 52 |
-
theme='JohnSmith9982/small_and_pretty'
|
| 53 |
-
|
| 54 |
)
|
| 55 |
|
| 56 |
|
|
|
|
| 21 |
return caption_fra
|
| 22 |
|
| 23 |
# Interface 1 : Captioning en anglais
|
| 24 |
+
|
| 25 |
anglais_interface = gr.Interface(
|
| 26 |
fn=caption_en_anglais,
|
| 27 |
inputs=[
|
|
|
|
| 49 |
demo = gr.TabbedInterface(
|
| 50 |
interface_list=[anglais_interface, francais_interface],
|
| 51 |
tab_names=["Captioning Anglais", "Captioning Français"],
|
| 52 |
+
theme='JohnSmith9982/small_and_pretty'
|
| 53 |
+
|
| 54 |
)
|
| 55 |
|
| 56 |
|