Abubakar Abid
commited on
Commit
•
8fdb18b
1
Parent(s):
32294f6
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,6 @@ os.system("pip install gradio==2.5.8a0")
|
|
6 |
import gradio as gr
|
7 |
|
8 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
9 |
-
description = "Translate something from English to French. Flag to add to this dataset: https://huggingface.co/datasets/abidlabs/test-
|
10 |
hf_saver = gr.HuggingFaceDatasetSaver(HF_TOKEN, "test-translation-dataset")
|
11 |
gr.Interface.load("huggingface/t5-base", flagging_callback=hf_saver, description=description).launch()
|
|
|
6 |
import gradio as gr
|
7 |
|
8 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
9 |
+
description = "Translate something from English to French. Flag to add to this dataset: https://huggingface.co/datasets/abidlabs/test-translation-dataset."
|
10 |
hf_saver = gr.HuggingFaceDatasetSaver(HF_TOKEN, "test-translation-dataset")
|
11 |
gr.Interface.load("huggingface/t5-base", flagging_callback=hf_saver, description=description).launch()
|