Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -179,6 +179,12 @@ def compare_question_answering(language, context, question):
|
|
179 |
<div>
|
180 |
<strong style='color: #74AA9C; font-weight: bold;'>ChatGPT:</strong><br><span style='font-weight: bold;'>{chatgpt_answer}</span>
|
181 |
</div><br>
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
"""
|
183 |
elif language == "Spanish":
|
184 |
confli_answer_spanish = question_answering_spanish(context, question)
|
@@ -204,6 +210,14 @@ def compare_question_answering(language, context, question):
|
|
204 |
<div>
|
205 |
<strong style='color: #74AA9C; font-weight: bold;'>ChatGPT:</strong><br><span style='font-weight: bold;'>{chatgpt_answer_spanish}
|
206 |
</div><br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
"""
|
208 |
|
209 |
# Gradio interface setup
|
|
|
179 |
<div>
|
180 |
<strong style='color: #74AA9C; font-weight: bold;'>ChatGPT:</strong><br><span style='font-weight: bold;'>{chatgpt_answer}</span>
|
181 |
</div><br>
|
182 |
+
<div>
|
183 |
+
<strong>Model Information:</strong><br>
|
184 |
+
<a href='https://huggingface.co/salsarra/ConfliBERT-QA' target='_blank'>ConfliBERT-cont-cased-SQuAD-v1</a><br>
|
185 |
+
<a href='https://huggingface.co/salsarra/BERT-base-cased-SQuAD-v1' target='_blank'>BERT-base-cased-SQuAD-v1</a><br>
|
186 |
+
<a href='https://platform.openai.com/docs/models/gpt-3-5' target='_blank'>ChatGPT (GPT-3.5 Turbo)</a><br></p>
|
187 |
+
</div>
|
188 |
"""
|
189 |
elif language == "Spanish":
|
190 |
confli_answer_spanish = question_answering_spanish(context, question)
|
|
|
210 |
<div>
|
211 |
<strong style='color: #74AA9C; font-weight: bold;'>ChatGPT:</strong><br><span style='font-weight: bold;'>{chatgpt_answer_spanish}
|
212 |
</div><br>
|
213 |
+
<div>
|
214 |
+
<strong>Model Information:</strong><br>
|
215 |
+
<a href='https://huggingface.co/salsarra/ConfliBERT-Spanish-Beto-Cased-NewsQA' target='_blank'>ConfliBERT-Spanish-Beto-Cased-NewsQA</a><br>
|
216 |
+
<a href='https://huggingface.co/salsarra/Beto-Spanish-Cased-NewsQA' target='_blank'>Beto-Spanish-Cased-NewsQA</a><br>
|
217 |
+
<a href='https://huggingface.co/salsarra/ConfliBERT-Spanish-Beto-Cased-SQAC' target='_blank'>ConfliBERT-Spanish-Beto-Cased-SQAC</a><br>
|
218 |
+
<a href='https://huggingface.co/salsarra/Beto-Spanish-Cased-SQAC' target='_blank'>Beto-Spanish-Cased-SQAC</a><br>
|
219 |
+
<a href='https://platform.openai.com/docs/models/gpt-3-5' target='_blank'>ChatGPT (GPT-3.5 Turbo)</a><br></p>
|
220 |
+
</div>
|
221 |
"""
|
222 |
|
223 |
# Gradio interface setup
|