Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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]
|