ginipick commited on
Commit
4c58aef
Β·
verified Β·
1 Parent(s): 892de37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -190,6 +190,7 @@ def respond(message: str, chat_history: List[Dict[str, str]], max_tokens: int, t
190
  except Exception as e:
191
  return f"응닡 생성 쀑 였λ₯˜ λ°œμƒ: {str(e)}"
192
 
 
193
  def create_ui():
194
  try:
195
  css = """
@@ -294,9 +295,6 @@ def create_ui():
294
  elem_classes="full-height code-box"
295
  )
296
 
297
-
298
-
299
-
300
  with gr.TabItem("AI μ½”λ”©"):
301
  chatbot = gr.Chatbot(label="λŒ€ν™”")
302
  msg = gr.Textbox(label="λ©”μ‹œμ§€")
@@ -349,7 +347,10 @@ def create_ui():
349
  print(f"Error in create_ui: {str(e)}")
350
  print(traceback.format_exc())
351
  raise
352
-
 
 
 
353
  if __name__ == "__main__":
354
  try:
355
  print("Starting HuggingFace Space Analyzer...")
@@ -373,4 +374,4 @@ if __name__ == "__main__":
373
  print(f"Error in main: {str(e)}")
374
  print("Detailed error information:")
375
  print(traceback.format_exc())
376
- raise
 
190
  except Exception as e:
191
  return f"응닡 생성 쀑 였λ₯˜ λ°œμƒ: {str(e)}"
192
 
193
+
194
  def create_ui():
195
  try:
196
  css = """
 
295
  elem_classes="full-height code-box"
296
  )
297
 
 
 
 
298
  with gr.TabItem("AI μ½”λ”©"):
299
  chatbot = gr.Chatbot(label="λŒ€ν™”")
300
  msg = gr.Textbox(label="λ©”μ‹œμ§€")
 
347
  print(f"Error in create_ui: {str(e)}")
348
  print(traceback.format_exc())
349
  raise
350
+
351
+
352
+
353
+
354
  if __name__ == "__main__":
355
  try:
356
  print("Starting HuggingFace Space Analyzer...")
 
374
  print(f"Error in main: {str(e)}")
375
  print("Detailed error information:")
376
  print(traceback.format_exc())
377
+ raise