AlexanderHolmes0 commited on
Commit
89ae7aa
·
verified ·
1 Parent(s): 8abb476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -18,15 +18,15 @@ with gr.Blocks() as demo:
18
  with gr.Tab("C1 Topic Model"):
19
  gr.load("models/AlexanderHolmes0/C1-Topic-Model-100")
20
  with gr.Row():
21
- gr.Plot(model.visualize_topics(width=650),
22
- min_width=650)
23
  gr.Plot(model.visualize_documents(C1_msg,
24
  reduced_embeddings=reduced_embeddings,
25
  hide_annotations = True,
26
  #topics = range(0,7),
27
- width = 725,
28
  custom_labels=True),
29
- min_width=725)
30
  with gr.Tab("C2 Topic Model"):
31
  gr.load("models/AlexanderHolmes0/C2-Topic-Model-100",alias = "C2 Topic Model")
32
  with gr.Row():
 
18
  with gr.Tab("C1 Topic Model"):
19
  gr.load("models/AlexanderHolmes0/C1-Topic-Model-100")
20
  with gr.Row():
21
+ gr.Plot(model.visualize_topics(width=500),
22
+ min_width=500)
23
  gr.Plot(model.visualize_documents(C1_msg,
24
  reduced_embeddings=reduced_embeddings,
25
  hide_annotations = True,
26
  #topics = range(0,7),
27
+ width = 900,
28
  custom_labels=True),
29
+ min_width=900)
30
  with gr.Tab("C2 Topic Model"):
31
  gr.load("models/AlexanderHolmes0/C2-Topic-Model-100",alias = "C2 Topic Model")
32
  with gr.Row():