Spaces:
Runtime error
Runtime error
tim-sanders
commited on
Upload folder using huggingface_hub
Browse files- chat-ui.py +1 -2
chat-ui.py
CHANGED
@@ -24,7 +24,6 @@ def main():
|
|
24 |
<a href="https://jscholarship.library.jhu.edu/handle/1774.2/35703">Edward St. John Real Estate Program - Practicum Projects</a> collection
|
25 |
"""
|
26 |
|
27 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"] = config['tokens']['hugging_face']
|
28 |
gr.Interface(fn=predict,
|
29 |
inputs="text",
|
30 |
title=title,
|
@@ -35,7 +34,7 @@ def main():
|
|
35 |
["What type of market analysis and feasibility studies were performed for the 9 St. Marys Street project in Annapolis Maryland?"],
|
36 |
["What are the feasibility studies of moving Johns Hopkins Medicine admin departments back to the East Baltimore campus?"]
|
37 |
],
|
38 |
-
outputs="text").launch(share=
|
39 |
|
40 |
|
41 |
def predict(prompt):
|
|
|
24 |
<a href="https://jscholarship.library.jhu.edu/handle/1774.2/35703">Edward St. John Real Estate Program - Practicum Projects</a> collection
|
25 |
"""
|
26 |
|
|
|
27 |
gr.Interface(fn=predict,
|
28 |
inputs="text",
|
29 |
title=title,
|
|
|
34 |
["What type of market analysis and feasibility studies were performed for the 9 St. Marys Street project in Annapolis Maryland?"],
|
35 |
["What are the feasibility studies of moving Johns Hopkins Medicine admin departments back to the East Baltimore campus?"]
|
36 |
],
|
37 |
+
outputs="text").launch(share=True)
|
38 |
|
39 |
|
40 |
def predict(prompt):
|