Spaces:
Runtime error
Runtime error
Commit
•
9cddb03
1
Parent(s):
aa6a7b6
Upload app.py
Browse filesAjustando as cores das div de bot e user, para cores do Hippo.
app.py
CHANGED
@@ -27,8 +27,8 @@ div.float.svelte-1frtwj3 {
|
|
27 |
overflow-y: auto;
|
28 |
}
|
29 |
.bot.svelte-6roggh.svelte-6roggh, .pending.svelte-6roggh.svelte-6roggh {
|
30 |
-
border-color:
|
31 |
-
background:
|
32 |
}
|
33 |
div.svelte-1frtwj3 {
|
34 |
display: inline-flex;
|
@@ -47,6 +47,15 @@ div.svelte-1frtwj3 {
|
|
47 |
width: 100%;
|
48 |
line-height: var(--line-sm);
|
49 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
div.svelte-awbtu4 {
|
51 |
display: flex;
|
52 |
flex-direction: inherit;
|
@@ -77,9 +86,9 @@ img.svelte-ms5bsk {
|
|
77 |
margin: 0;
|
78 |
box-shadow: var(--block-shadow);
|
79 |
border-width: var(--block-border-width);
|
80 |
-
border-color: #
|
81 |
border-radius: var(--block-radius);
|
82 |
-
background: #
|
83 |
width: 100%;
|
84 |
line-height: var(--line-sm);
|
85 |
}
|
@@ -96,7 +105,7 @@ def transcribe(audio):
|
|
96 |
return text
|
97 |
def construct_index(directory_path):
|
98 |
max_input_size = 10000
|
99 |
-
num_outputs =
|
100 |
max_chunk_overlap = 20000
|
101 |
chunk_size_limit = 600000
|
102 |
|
|
|
27 |
overflow-y: auto;
|
28 |
}
|
29 |
.bot.svelte-6roggh.svelte-6roggh, .pending.svelte-6roggh.svelte-6roggh {
|
30 |
+
border-color: ##D9A13D;
|
31 |
+
background: ##D9A13D;
|
32 |
}
|
33 |
div.svelte-1frtwj3 {
|
34 |
display: inline-flex;
|
|
|
47 |
width: 100%;
|
48 |
line-height: var(--line-sm);
|
49 |
}
|
50 |
+
|
51 |
+
div.bot.svelte-6roggh.svelte-6roggh {
|
52 |
+
background: #D9A13D;
|
53 |
+
}
|
54 |
+
|
55 |
+
div.user.svelte-6roggh.svelte-6roggh {
|
56 |
+
background: #5F0000;
|
57 |
+
}
|
58 |
+
|
59 |
div.svelte-awbtu4 {
|
60 |
display: flex;
|
61 |
flex-direction: inherit;
|
|
|
86 |
margin: 0;
|
87 |
box-shadow: var(--block-shadow);
|
88 |
border-width: var(--block-border-width);
|
89 |
+
border-color: #ffffff;
|
90 |
border-radius: var(--block-radius);
|
91 |
+
background: #ffffff;
|
92 |
width: 100%;
|
93 |
line-height: var(--line-sm);
|
94 |
}
|
|
|
105 |
return text
|
106 |
def construct_index(directory_path):
|
107 |
max_input_size = 10000
|
108 |
+
num_outputs = 20000
|
109 |
max_chunk_overlap = 20000
|
110 |
chunk_size_limit = 600000
|
111 |
|