Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,18 +41,21 @@ title="🔬🧠ScienceBrain.AI"
|
|
| 41 |
helpURL='https://huggingface.co/awacke1'
|
| 42 |
bugURL='https://huggingface.co/spaces/awacke1'
|
| 43 |
icons='🔬'
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
# My Inference API Copy
|
| 58 |
API_URL = 'https://qe55p8afio98s0u3.us-east-1.aws.endpoints.huggingface.cloud' # Dr Llama
|
|
|
|
| 41 |
helpURL='https://huggingface.co/awacke1'
|
| 42 |
bugURL='https://huggingface.co/spaces/awacke1'
|
| 43 |
icons='🔬'
|
| 44 |
+
|
| 45 |
+
useConfig=False
|
| 46 |
+
if useConfig: # Component code at end runs py which makes this error so useConfig=False should allow it to work without
|
| 47 |
+
st.set_page_config(
|
| 48 |
+
page_title=title,
|
| 49 |
+
page_icon=icons,
|
| 50 |
+
layout="wide",
|
| 51 |
+
#initial_sidebar_state="expanded",
|
| 52 |
+
initial_sidebar_state="auto",
|
| 53 |
+
menu_items={
|
| 54 |
+
'Get Help': helpURL,
|
| 55 |
+
'Report a bug': bugURL,
|
| 56 |
+
'About': title
|
| 57 |
+
}
|
| 58 |
+
)
|
| 59 |
|
| 60 |
# My Inference API Copy
|
| 61 |
API_URL = 'https://qe55p8afio98s0u3.us-east-1.aws.endpoints.huggingface.cloud' # Dr Llama
|