alexander-lazarin
commited on
Commit
•
dd74596
1
Parent(s):
05f1e1c
fix bugs: remove import of psycopg2, fix product_name→name in default db filter
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ from prophet import Prophet
|
|
4 |
import plotly.graph_objs as go
|
5 |
import re
|
6 |
import logging
|
7 |
-
import psycopg2
|
8 |
import os
|
9 |
import torch
|
10 |
from chronos import ChronosPipeline
|
@@ -257,7 +256,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as interface:
|
|
257 |
ozon_checkbox = gr.Checkbox(label="Ozon", value=True)
|
258 |
|
259 |
with gr.Row():
|
260 |
-
product_name_input = gr.Textbox(label="Product Name Filter", value="
|
261 |
|
262 |
with gr.Row():
|
263 |
model_choice = gr.Radio(["Prophet", "Chronos"], label="Choose Model", value="Prophet")
|
|
|
4 |
import plotly.graph_objs as go
|
5 |
import re
|
6 |
import logging
|
|
|
7 |
import os
|
8 |
import torch
|
9 |
from chronos import ChronosPipeline
|
|
|
256 |
ozon_checkbox = gr.Checkbox(label="Ozon", value=True)
|
257 |
|
258 |
with gr.Row():
|
259 |
+
product_name_input = gr.Textbox(label="Product Name Filter", value="name like '%пуховик%'")
|
260 |
|
261 |
with gr.Row():
|
262 |
model_choice = gr.Radio(["Prophet", "Chronos"], label="Choose Model", value="Prophet")
|