yuchuantian commited on
Commit
191c982
Β·
verified Β·
1 Parent(s): ec41f01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ with gr.Blocks() as demo:
151
  gr.Markdown("""
152
  Note: The results are for reference only; they could not be used as factual evidence.
153
  """)
154
- t1 = gr.Textbox(lines=5, label='Text',value="Originated as the Imperial University of Peking in 1898, Peking University was China's first national comprehensive university and the supreme education authority at the time. Since the founding of the People's Republic of China in 1949, it has developed into a comprehensive university with fundamental education and research in both humanities and science. The reform and opening-up of China in 1978 has ushered in a new era for the University unseen in history.")
155
  button5 = gr.Button("πŸš€ Predict!")
156
  label5 = gr.Textbox(lines=1, label='Predicted Label')
157
  score5 = gr.Textbox(lines=1, label='Probability')
 
151
  gr.Markdown("""
152
  Note: The results are for reference only; they could not be used as factual evidence.
153
  """)
154
+ t5 = gr.Textbox(lines=5, label='Text',value="Originated as the Imperial University of Peking in 1898, Peking University was China's first national comprehensive university and the supreme education authority at the time. Since the founding of the People's Republic of China in 1949, it has developed into a comprehensive university with fundamental education and research in both humanities and science. The reform and opening-up of China in 1978 has ushered in a new era for the University unseen in history.")
155
  button5 = gr.Button("πŸš€ Predict!")
156
  label5 = gr.Textbox(lines=1, label='Predicted Label')
157
  score5 = gr.Textbox(lines=1, label='Probability')