Saraay commited on
Commit
c2ddad1
·
verified ·
1 Parent(s): 875f8b2
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -19,7 +19,8 @@ import pandas as pd
19
  import numpy as np
20
  import matplotlib.pyplot as plt
21
  from sklearn.preprocessing import MinMaxScaler
22
- from sklearn.metrics import r2_score
 
23
  from tensorflow.keras.models import Sequential
24
  from tensorflow.keras.layers import LSTM, Dense, Dropout
25
  import tensorflow as tf
@@ -819,7 +820,7 @@ iface = gr.Interface(
819
  fn=combined_function,
820
  inputs=[
821
  gr.Textbox(label="Future Date (YYYY-MM-DD)", placeholder="Enter date in YYYY-MM-DD format", lines=1),
822
- gr.Number(label="Budget ($)", value=1, precision=2)
823
  ],
824
  outputs=[
825
  gr.Textbox(label="Investment Prediction"),
 
19
  import numpy as np
20
  import matplotlib.pyplot as plt
21
  from sklearn.preprocessing import MinMaxScaler
22
+ from sklearn.metrics import
23
+ r2_score
24
  from tensorflow.keras.models import Sequential
25
  from tensorflow.keras.layers import LSTM, Dense, Dropout
26
  import tensorflow as tf
 
820
  fn=combined_function,
821
  inputs=[
822
  gr.Textbox(label="Future Date (YYYY-MM-DD)", placeholder="Enter date in YYYY-MM-DD format", lines=1),
823
+ gr.Number(label="Budget ($)", minimum=1, value=1, precision=2)
824
  ],
825
  outputs=[
826
  gr.Textbox(label="Investment Prediction"),