Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,10 @@ from flask import Flask, jsonify
|
|
3 |
import threading
|
4 |
from flask_cors import CORS, cross_origin
|
5 |
|
6 |
-
|
|
|
|
|
|
|
7 |
|
8 |
|
9 |
|
@@ -30,10 +33,7 @@ def run_flask():
|
|
30 |
flask_thread = threading.Thread(target=run_flask)
|
31 |
flask_thread.start()
|
32 |
|
33 |
-
|
34 |
-
import streamlit as st
|
35 |
-
import requests
|
36 |
-
st.title("huhu")
|
37 |
|
38 |
|
39 |
#response = requests.get('https://huggingface.co/spaces/mgokg/PandasAI:5000/api?data=huhu')
|
|
|
3 |
import threading
|
4 |
from flask_cors import CORS, cross_origin
|
5 |
|
6 |
+
# Streamlit Frontend
|
7 |
+
import streamlit as st
|
8 |
+
import requests
|
9 |
+
st.title("huhu")
|
10 |
|
11 |
|
12 |
|
|
|
33 |
flask_thread = threading.Thread(target=run_flask)
|
34 |
flask_thread.start()
|
35 |
|
36 |
+
|
|
|
|
|
|
|
37 |
|
38 |
|
39 |
#response = requests.get('https://huggingface.co/spaces/mgokg/PandasAI:5000/api?data=huhu')
|