Spaces:
Sleeping
Sleeping
correcting syntax error in app.py
Browse files
app.py
CHANGED
@@ -279,7 +279,7 @@ model_prediction = gr.Label(label="Model prediction")
|
|
279 |
demo = gr.Interface(
|
280 |
fn = predict,
|
281 |
inputs = user_question_textbox,
|
282 |
-
outputs = model_prediction # "text",
|
283 |
title = "Ask Me Anything (AMA) on Tesla 10-K statements",
|
284 |
description= " This web API presents an interface to ask questions about the contents of the Tesla 10-K reports for the period 2019 - 2023.",
|
285 |
article = "Note that questions that are not relevant to the Tesla 10-K report will not be answered.",
|
|
|
279 |
demo = gr.Interface(
|
280 |
fn = predict,
|
281 |
inputs = user_question_textbox,
|
282 |
+
outputs = model_prediction, # "text",
|
283 |
title = "Ask Me Anything (AMA) on Tesla 10-K statements",
|
284 |
description= " This web API presents an interface to ask questions about the contents of the Tesla 10-K reports for the period 2019 - 2023.",
|
285 |
article = "Note that questions that are not relevant to the Tesla 10-K report will not be answered.",
|