awacke1 commited on
Commit
5455896
·
1 Parent(s): 4e12e27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -11,6 +11,9 @@ import huggingface_hub
11
  from huggingface_hub import Repository, hf_hub_download, upload_file
12
  from datetime import datetime
13
 
 
 
 
14
  from typing import List, Dict
15
  import httpx
16
  import pandas as pd
@@ -50,8 +53,12 @@ def store_message(name: str, message: str):
50
  )
51
  commit_url = repo.push_to_hub()
52
 
53
- f=get_df(DATASET_REPO_ID)
54
- print(f)
 
 
 
 
55
  return ""
56
  # ----------------------------------------------- For Memory
57
 
 
11
  from huggingface_hub import Repository, hf_hub_download, upload_file
12
  from datetime import datetime
13
 
14
+ #fastapi is where its at: share your app, share your api
15
+ import fastapi
16
+
17
  from typing import List, Dict
18
  import httpx
19
  import pandas as pd
 
53
  )
54
  commit_url = repo.push_to_hub()
55
 
56
+ # test api retrieval of any dataset that is saved, then return it...
57
+ # app = FastAPI()
58
+ # see: https://gradio.app/sharing_your_app/#api-page
59
+
60
+ # f=get_df(DATASET_REPO_ID)
61
+ # print(f)
62
  return ""
63
  # ----------------------------------------------- For Memory
64