Spaces:
Runtime error
Runtime error
fix
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -77,7 +77,7 @@ interface = gr.Interface(
|
|
| 77 |
gr.Image(type="pil"),
|
| 78 |
gr.Textbox(label="Вопрос (на русском)", placeholder="Ваш вопрос"),
|
| 79 |
],
|
| 80 |
-
outputs=gr.
|
| 81 |
examples=examples,
|
| 82 |
title="Демо визуального ответчика на вопросы (на русском)",
|
| 83 |
description=(
|
|
|
|
| 77 |
gr.Image(type="pil"),
|
| 78 |
gr.Textbox(label="Вопрос (на русском)", placeholder="Ваш вопрос"),
|
| 79 |
],
|
| 80 |
+
outputs=gr.Textbox(label="Ответ (на русском)"),
|
| 81 |
examples=examples,
|
| 82 |
title="Демо визуального ответчика на вопросы (на русском)",
|
| 83 |
description=(
|
requirements.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
git+https://github.com/facebookresearch/detectron2.git
|
| 2 |
pytesseract
|
| 3 |
sentencepiece
|
| 4 |
-
torchvision
|
|
|
|
|
|
| 1 |
git+https://github.com/facebookresearch/detectron2.git
|
| 2 |
pytesseract
|
| 3 |
sentencepiece
|
| 4 |
+
torchvision
|
| 5 |
+
sacremoses
|