linjunyao commited on
Commit
a5bf394
1 Parent(s): be5a22c

updated citation textbox lines

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -283,7 +283,9 @@ with gr.Blocks() as demo:
283
  citation_button = gr.Textbox(
284
  value=CITATION_BUTTON_TEXT,
285
  label=CITATION_BUTTON_LABEL,
286
- elem_id='citation-button')
 
 
287
 
288
 
289
  if __name__ == '__main__':
@@ -291,7 +293,7 @@ if __name__ == '__main__':
291
 
292
  parser = argparse.ArgumentParser()
293
  parser.add_argument("--host", type=str, default="0.0.0.0")
294
- parser.add_argument("--port", type=int)
295
  parser.add_argument(
296
  "--share",
297
  action="store_true",
 
283
  citation_button = gr.Textbox(
284
  value=CITATION_BUTTON_TEXT,
285
  label=CITATION_BUTTON_LABEL,
286
+ elem_id='citation-button',
287
+ lines=10,
288
+ )
289
 
290
 
291
  if __name__ == '__main__':
 
293
 
294
  parser = argparse.ArgumentParser()
295
  parser.add_argument("--host", type=str, default="0.0.0.0")
296
+ parser.add_argument("--port", type=int, default="7860")
297
  parser.add_argument(
298
  "--share",
299
  action="store_true",