Spaces:
Runtime error
Runtime error
Update app.py
#2
by sammieerne - opened
13 unmodified lines14151617181920212223242513 unmodified linesGE_url = 'https://raw.githubusercontent.com/GE-Case-Study/GEProject/main/Model_Data.csv'GE_download = requests.get(GE_url).content### AttributeError: module 'IPython.utils.io' has no attribute 'StringIO'#GE_data =pd.read_csv(io.StringIO(GE_download.decode('utf-8')))def predict(dist, flight_cycle, t50_max, nc_avg, ps30_max, nrc_max, bpr_max, w32_avg):13 unmodified lines14151617181920212223242513 unmodified linesGE_url = 'https://github.com/GE-Case-Study/GEProject/raw/main/ge_example.csv'GE_download = requests.get(GE_url).content### AttributeError: module 'IPython.utils.io' has no attribute 'StringIO'GE_data =pd.read_csv(io.StringIO(GE_download.decode('utf-8')))def predict(dist, flight_cycle, t50_max, nc_avg, ps30_max, nrc_max, bpr_max, w32_avg):
app.py+2-2