Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,10 +18,11 @@ import torch
|
|
| 18 |
|
| 19 |
from module_chat import demo as chat_block
|
| 20 |
from module_translation import demo as translation_block
|
|
|
|
| 21 |
|
| 22 |
demo = gr.TabbedInterface(
|
| 23 |
-
interface_list=[chat_block, translation_block],
|
| 24 |
-
tab_names=["Chat", "Translation"],
|
| 25 |
title="Chat with a vision language model"
|
| 26 |
)
|
| 27 |
|
|
|
|
| 18 |
|
| 19 |
from module_chat import demo as chat_block
|
| 20 |
from module_translation import demo as translation_block
|
| 21 |
+
from module_rewriting import demo as rewriting_block
|
| 22 |
|
| 23 |
demo = gr.TabbedInterface(
|
| 24 |
+
interface_list=[chat_block, translation_block, rewriting_block],
|
| 25 |
+
tab_names=["Chat", "Translation", "Rewriting"],
|
| 26 |
title="Chat with a vision language model"
|
| 27 |
)
|
| 28 |
|