pmkhanh7890 commited on
Commit
8617832
·
1 Parent(s): 26e3944

Update default screen and table size

Browse files
application_2.py CHANGED
@@ -113,10 +113,10 @@ with gr.Blocks() as demo:
113
  </thead>
114
  <tbody>
115
  <tr>
116
- <th>Input 1</th>
117
- <th>Source 1(URL provided in Originality column correspondingly)</th>
118
- <th>Forensic 1</th>
119
- <th>Originality 1</th>
120
  </tr>
121
  </tbody>
122
  </table>
@@ -130,7 +130,7 @@ with gr.Blocks() as demo:
130
  ordinary_user_result = gr.HTML(table)
131
  with gr.Tab("Fact Checker"):
132
  gr.HTML(fact_checker_explanation)
133
- fact_checker_result = gr.HTML("<br>"*40)
134
  with gr.Tab("Governor"):
135
  gr.HTML(fact_checker_explanation)
136
  governor_result = gr.HTML(table)
 
113
  </thead>
114
  <tbody>
115
  <tr>
116
+ <th>TBD</th>
117
+ <th>TBD</th>
118
+ <th>TBD</th>
119
+ <th>TBD</th>
120
  </tr>
121
  </tbody>
122
  </table>
 
130
  ordinary_user_result = gr.HTML(table)
131
  with gr.Tab("Fact Checker"):
132
  gr.HTML(fact_checker_explanation)
133
+ fact_checker_result = gr.HTML(table)
134
  with gr.Tab("Governor"):
135
  gr.HTML(fact_checker_explanation)
136
  governor_result = gr.HTML(table)
src/application/content_detection.py CHANGED
@@ -275,6 +275,7 @@ class NewsVerification():
275
  return f"""
276
  <h5>Comparison between input news and source news</h5>
277
  <table border="1" style="width:100%; text-align:left; border-collapse:collapse;">
 
278
  <thead>
279
  <tr>
280
  <th>Input news</th>
@@ -348,6 +349,7 @@ class NewsVerification():
348
  return f"""
349
  <h5>Comparison between input news and source news</h5>
350
  <table border="1" style="width:100%; text-align:left; border-collapse:collapse;">
 
351
  <thead>
352
  <tr>
353
  <th>Input news</th>
@@ -453,7 +455,7 @@ class NewsVerification():
453
  return f"""
454
  <h5>Comparison between input news and source news</h5>
455
  <table border="1" style="width:100%; text-align:left; border-collapse:collapse;">
456
- <col style="width: 150px;"> <col style="width: 150px;"> <col style="width: 50px;"> <col style="width: 75px;">
457
  <thead>
458
  <tr>
459
  <th>Input news</th>
 
275
  return f"""
276
  <h5>Comparison between input news and source news</h5>
277
  <table border="1" style="width:100%; text-align:left; border-collapse:collapse;">
278
+ <col style="width: 170px;"> <col style="width: 170px;"> <col style="width: 30px;"> <col style="width: 75px;">
279
  <thead>
280
  <tr>
281
  <th>Input news</th>
 
349
  return f"""
350
  <h5>Comparison between input news and source news</h5>
351
  <table border="1" style="width:100%; text-align:left; border-collapse:collapse;">
352
+ <col style="width: 170px;"> <col style="width: 170px;"> <col style="width: 30px;"> <col style="width: 75px;">
353
  <thead>
354
  <tr>
355
  <th>Input news</th>
 
455
  return f"""
456
  <h5>Comparison between input news and source news</h5>
457
  <table border="1" style="width:100%; text-align:left; border-collapse:collapse;">
458
+ <col style="width: 170px;"> <col style="width: 170px;"> <col style="width: 30px;"> <col style="width: 75px;">
459
  <thead>
460
  <tr>
461
  <th>Input news</th>