starnernj commited on
Commit
c5f1959
·
verified ·
1 Parent(s): 537cfe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -5,6 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
5
  from peft import PeftModel
6
  import os
7
  import torch
 
8
  import bitsandbytes
9
 
10
  # Function to wait for ZeroGPU to initialize
@@ -63,4 +64,6 @@ interface = gr.Interface(
63
  description="A chatbot using my fine-tuned LoRA adapter on LLaMA 3.1 8B, tuned on thousands of writings of the early Christian Church Fathers.",
64
  )
65
 
 
 
66
  interface.launch()
 
5
  from peft import PeftModel
6
  import os
7
  import torch
8
+ import time
9
  import bitsandbytes
10
 
11
  # Function to wait for ZeroGPU to initialize
 
64
  description="A chatbot using my fine-tuned LoRA adapter on LLaMA 3.1 8B, tuned on thousands of writings of the early Christian Church Fathers.",
65
  )
66
 
67
+ time.sleep(10)
68
+
69
  interface.launch()