Dhahlan2000 commited on
Commit
8497f03
·
verified ·
1 Parent(s): 542d6f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def transliterate_to_sinhala(text):
46
  # Placeholder for conversation model loading and pipeline setup
47
  # pipe1 = pipeline("text-generation", model="microsoft/Phi-3-mini-4k-instruct", trust_remote_code=True)
48
 
49
- interface = gr.Interface.load("microsoft/Phi-3-mini-4k-instruct")
50
 
51
  def conversation_predict(text):
52
  return interface([text])[0]
 
46
  # Placeholder for conversation model loading and pipeline setup
47
  # pipe1 = pipeline("text-generation", model="microsoft/Phi-3-mini-4k-instruct", trust_remote_code=True)
48
 
49
+ interface = gr.Interface.load("huggingface/microsoft/Phi-3-mini-4k-instruct")
50
 
51
  def conversation_predict(text):
52
  return interface([text])[0]