Spaces:
Runtime error
Runtime error
Abinaya Mahendiran
commited on
Commit
·
6673aaa
1
Parent(s):
a428559
Updated app
Browse files
app.py
CHANGED
@@ -38,6 +38,16 @@ page = st.sidebar.selectbox(label="Select model",
|
|
38 |
data = st.sidebar.selectbox(label="Select data",
|
39 |
options=config[page],
|
40 |
help="Select the data on which the model is trained")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
# Main page
|
43 |
st.title("Tamil Language Demos")
|
|
|
38 |
data = st.sidebar.selectbox(label="Select data",
|
39 |
options=config[page],
|
40 |
help="Select the data on which the model is trained")
|
41 |
+
if page == "Text Generation" and data == "Oscar + IndicNLP":
|
42 |
+
st.sidebar.markdown(
|
43 |
+
"[Model tracking on wandb](https://wandb.ai/wandb/hf-flax-gpt2-tamil/runs/watdq7ib/overview?workspace=user-abinayam)"
|
44 |
+
"[Model card](https://huggingface.co/abinayam/gpt-2-tamil)"
|
45 |
+
)
|
46 |
+
elif page == "Text Generation" and data == "Oscar":
|
47 |
+
st.sidebar.markdown(
|
48 |
+
"[Model tracking on wandb](https://wandb.ai/abinayam/hf-flax-gpt-2-tamil/runs/1ddv4131/overview?workspace=user-abinayam)",
|
49 |
+
"[Model card](https://huggingface.co/flax-community/gpt-2-tamil)"
|
50 |
+
)
|
51 |
|
52 |
# Main page
|
53 |
st.title("Tamil Language Demos")
|