Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
22 |
-
min_width=
|
23 |
gr.Plot(model.visualize_documents(C1_msg,
|
24 |
reduced_embeddings=reduced_embeddings,
|
25 |
hide_annotations = True,
|
26 |
#topics = range(0,7),
|
27 |
-
width =
|
28 |
custom_labels=True),
|
29 |
-
min_width=
|
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():
|