Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
| 10 |
MODEL = "LLaMAX/LLaMAX3-8B-Alpaca"
|
| 11 |
RELATIVE_MODEL="LLaMAX/LLaMAX3-8B"
|
| 12 |
|
| 13 |
-
TITLE = "<h1><center>
|
| 14 |
|
| 15 |
|
| 16 |
model = AutoModelForCausalLM.from_pretrained(
|
|
@@ -160,9 +160,7 @@ with gr.Blocks(theme="soft", css=CSS) as demo:
|
|
| 160 |
with gr.Column(scale=4):
|
| 161 |
source_text = gr.Textbox(
|
| 162 |
label="Source Text",
|
| 163 |
-
value="
|
| 164 |
-
"LLaMAX supports translation between more than 100 languages, "+\
|
| 165 |
-
"surpassing the performance of similarly scaled LLMs.",
|
| 166 |
lines=10,
|
| 167 |
)
|
| 168 |
output_text = gr.Textbox(
|
|
|
|
| 10 |
MODEL = "LLaMAX/LLaMAX3-8B-Alpaca"
|
| 11 |
RELATIVE_MODEL="LLaMAX/LLaMAX3-8B"
|
| 12 |
|
| 13 |
+
TITLE = "<h1><center>Siddharth & Yash - Language Translator</center></h1>"
|
| 14 |
|
| 15 |
|
| 16 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 160 |
with gr.Column(scale=4):
|
| 161 |
source_text = gr.Textbox(
|
| 162 |
label="Source Text",
|
| 163 |
+
value="India AI Translator"+\
|
|
|
|
|
|
|
| 164 |
lines=10,
|
| 165 |
)
|
| 166 |
output_text = gr.Textbox(
|