Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from run_eval import run_generate
|
|
7 |
default_value = "summarize: Debanjan: Hi! kya tum EMNLP attend kar rahein ho? Anish: nehi I will skip this year. what about you? Debanjan: mein virtually attend kar raha hu Debanjan: hopefully can attend the conference in person from next year... Anish: haan dekhtey hain, in person attend karney mein alaag hi maaza hain Debanjan: but I also like this hybrid mode allows to attend the sessions in case you do not make it Anish: right Anish: if you are attending to mujhe interesting papers kuch bhej dena Debanjan: sure"
|
8 |
|
9 |
st.write("# GupShup")
|
10 |
-
st.write("## Summarizing Open-Domain Code-Switched Conversations")
|
11 |
task_type = st.sidebar.selectbox(
|
12 |
"Task type", ["Hinglish to English", "English to English"]
|
13 |
)
|
@@ -82,7 +82,7 @@ elif task_type == "Hinglish to English":
|
|
82 |
model_name_path = "midas/gupshup_" + str(tt) + "_" + str(model_name).lower()
|
83 |
|
84 |
if src_file == None or os.path.isfile(src_file) == False:
|
85 |
-
st.write("
|
86 |
else:
|
87 |
|
88 |
result = run_generate(
|
|
|
7 |
default_value = "summarize: Debanjan: Hi! kya tum EMNLP attend kar rahein ho? Anish: nehi I will skip this year. what about you? Debanjan: mein virtually attend kar raha hu Debanjan: hopefully can attend the conference in person from next year... Anish: haan dekhtey hain, in person attend karney mein alaag hi maaza hain Debanjan: but I also like this hybrid mode allows to attend the sessions in case you do not make it Anish: right Anish: if you are attending to mujhe interesting papers kuch bhej dena Debanjan: sure"
|
8 |
|
9 |
st.write("# GupShup")
|
10 |
+
st.write("## Summarizing Open-Domain Code-Switched Conversations - [https://aclanthology.org/2021.emnlp-main.499/](https://aclanthology.org/2021.emnlp-main.499/)")
|
11 |
task_type = st.sidebar.selectbox(
|
12 |
"Task type", ["Hinglish to English", "English to English"]
|
13 |
)
|
|
|
82 |
model_name_path = "midas/gupshup_" + str(tt) + "_" + str(model_name).lower()
|
83 |
|
84 |
if src_file == None or os.path.isfile(src_file) == False:
|
85 |
+
st.write("##### Hit the submit button on the left with the default conversation or enter your own conversation if you don't have the source files.")
|
86 |
else:
|
87 |
|
88 |
result = run_generate(
|