Chris4K commited on
Commit
00577b5
·
verified ·
1 Parent(s): 465b890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -17
app.py CHANGED
@@ -92,32 +92,21 @@ tabs = st.tabs(["Chat", "URL, Tools and logging", "User Description", "Developer
92
  with tabs[0]:
93
 
94
  # Code for URL and Tools checkboxes
95
-
96
  # Examples for the user perspective
97
  st.markdown("Stat to chat. e.g. Generate an image of a boat. This will make the agent use the tool text2image to generate an image.")
98
 
99
 
100
  # Tab 2: URL and Tools
101
  with tabs[1]:
102
-
103
- # Code for URL and Tools checkboxes
104
-
105
-
106
- # Add a dropdown for selecting the inference URL
107
- url_endpoint = st.selectbox("Select Inference URL", [
108
- "https://api-inference.huggingface.co/models/bigcode/starcoder",
109
- "https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5",
110
- "https://api-inference.huggingface.co/models/gpt2"
111
- ])
112
-
113
- # Add a checkbox for enabling logging
114
- log_enabled = st.checkbox("Enable Logging")
115
-
116
- tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tool_loader.tools]
117
 
118
  # Tab 3: User Description
119
  with tabs[2]:
120
- st.markdown(show_app_description())
 
 
121
 
122
 
123
  # Tab 4: Developers
 
92
  with tabs[0]:
93
 
94
  # Code for URL and Tools checkboxes
95
+ #chat_description()
96
  # Examples for the user perspective
97
  st.markdown("Stat to chat. e.g. Generate an image of a boat. This will make the agent use the tool text2image to generate an image.")
98
 
99
 
100
  # Tab 2: URL and Tools
101
  with tabs[1]:
102
+ #
103
+ app_config()
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  # Tab 3: User Description
106
  with tabs[2]:
107
+ #
108
+ app_user_description()
109
+
110
 
111
 
112
  # Tab 4: Developers