segestic commited on
Commit
e692e9d
1 Parent(s): 3153dae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -158,12 +158,21 @@ def main():
158
  #filters_widgets(df)
159
  # Display the dataframe as a table
160
  st.write(df)
 
 
 
 
 
 
 
161
 
 
162
 
163
  ############end table/ledger
164
 
165
- if __name__ == "__main__":
166
- main()
 
167
 
168
 
169
  #comments
 
158
  #filters_widgets(df)
159
  # Display the dataframe as a table
160
  st.write(df)
161
+
162
+
163
+
164
+ if __name__ == "__main__":
165
+ main() #streamlit-start
166
+ import subprocess
167
+ import uvicorn
168
 
169
+ subprocess.run("uvicorn api.main:app --host 0.0.0.0 --port 7860", shell=True)
170
 
171
  ############end table/ledger
172
 
173
+ #if __name__ == "__main__":
174
+ #main()
175
+
176
 
177
 
178
  #comments