Sambhavnoobcoder commited on
Commit
54a31b3
·
verified ·
1 Parent(s): a4aecbc

tried to change the ui a bit , making similar to the colab notebook

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -149,20 +149,20 @@ def chatbot(message, history):
149
 
150
  return total_text
151
 
152
- iface = gr.Interface(
153
- fn=chatbot,
154
- inputs="text",
155
- outputs="text",
156
  title="LLM Research Assistant",
157
  description="Ask questions about LLM architectures, datasets, and training techniques.",
158
  examples=[
159
- ["What are some milestone model architectures in LLMs?"],
160
- ["Explain the transformer architecture."],
161
- ["Tell me about datasets used to train LLMs."],
162
- ["How are LLM training datasets cleaned and preprocessed?"],
163
- ["Summarize the user queries so far"]
164
  ],
165
- allow_flagging="never"
 
 
166
  )
167
 
168
  if __name__ == "__main__":
 
149
 
150
  return total_text
151
 
152
+ iface = gr.ChatInterface(
153
+ chatbot,
 
 
154
  title="LLM Research Assistant",
155
  description="Ask questions about LLM architectures, datasets, and training techniques.",
156
  examples=[
157
+ "What are some milestone model architectures in LLMs?",
158
+ "Explain the transformer architecture.",
159
+ "Tell me about datasets used to train LLMs.",
160
+ "How are LLM training datasets cleaned and preprocessed?",
161
+ "Summarize the user queries so far"
162
  ],
163
+ retry_btn="Regenerate",
164
+ undo_btn="Undo",
165
+ clear_btn="Clear",
166
  )
167
 
168
  if __name__ == "__main__":