Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,8 @@ import gradio as gr
|
|
2 |
|
3 |
title = "Try Out Georgian Language Model"
|
4 |
|
5 |
-
description = """
|
6 |
-
The General Georgian Language Model is a pretrained language model specifically designed for understanding and generating text in the Georgian language. It is based on the DistilBERT-base-uncased architecture and has been trained on the MC4 dataset, which consists of a large collection of multilingual web documents.
|
7 |
-
<img src="https://huggingface.co/spaces/Davit6174/Davit6174-georgian-distilbert-mlm/tree/main/Man_talking_to_an_AI.png" width=200px>
|
8 |
-
"""
|
9 |
article = "For more information and code examples, please refer to the README file and documentation available in the model repository at https://huggingface.co/Davit6174/georgian-distilbert-mlm"
|
10 |
|
11 |
-
examples=[["α₯αα αα£αα [MASK] α‘α¬αααα α‘αααααα α αα£ααα"], ["α‘αα₯αα αααααα‘ [MASK] αααα ααα αα αα αααααα ααα ααα αα‘ααα ααααα‘"]]
|
12 |
|
13 |
-
gr.Interface.load("models/Davit6174/georgian-distilbert-mlm", title=title,
|
|
|
2 |
|
3 |
title = "Try Out Georgian Language Model"
|
4 |
|
|
|
|
|
|
|
|
|
5 |
article = "For more information and code examples, please refer to the README file and documentation available in the model repository at https://huggingface.co/Davit6174/georgian-distilbert-mlm"
|
6 |
|
7 |
+
examples=[["α₯αα αα£αα [MASK] α‘α¬αααα α‘αααααα α αα£ααα"], ["α‘αα₯αα αααααα‘ [MASK] αααα ααα αα αα αααααα ααα ααα αα‘ααα ααααα‘"], ["α₯αα αα£αα α¦αααα ααααα₯αα£ααα [MASK] αα‘αα€αααα¨α"]]
|
8 |
|
9 |
+
gr.Interface.load("models/Davit6174/georgian-distilbert-mlm", title=title, article=article, examples=examples).launch()
|