Spaces:
Runtime error
Runtime error
Francesco-A
commited on
Commit
•
db9198a
1
Parent(s):
9ce25b9
debug
Browse filesNon-example DataFrame error
app.py
CHANGED
@@ -132,7 +132,7 @@ data = {
|
|
132 |
|
133 |
context_df = pd.DataFrame(data)
|
134 |
|
135 |
-
a_text = gr.components.Dataframe(col_count=(1,"fixed"),interactive = True)
|
136 |
n_slider = gr.components.Slider(minimum=1, maximum = 10, label = "Select n answers (max= 10)",step = 1)
|
137 |
|
138 |
intf = gr.Interface(fn=QA_similarity,
|
|
|
132 |
|
133 |
context_df = pd.DataFrame(data)
|
134 |
|
135 |
+
a_text = gr.components.Dataframe(col_count=(1,"fixed"), headers=['Context'], interactive = True)
|
136 |
n_slider = gr.components.Slider(minimum=1, maximum = 10, label = "Select n answers (max= 10)",step = 1)
|
137 |
|
138 |
intf = gr.Interface(fn=QA_similarity,
|