Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ print(f"Debug: CloudConvert Token exists = {cloudconvert_token is not None}")
|
|
17 |
# Initialize the client with Cerebras
|
18 |
client = InferenceClient(
|
19 |
"meta-llama/Llama-3.3-70B-Instruct",
|
20 |
-
provider="
|
21 |
token=hf_token
|
22 |
)
|
23 |
|
@@ -139,7 +139,7 @@ def convert_pages_to_text(file_path, api_key):
|
|
139 |
|
140 |
@spaces.GPU
|
141 |
def convert_pages_document(file, output_format, progress=gr.Progress()):
|
142 |
-
"""Convert Pages document using CloudConvert +
|
143 |
if not file:
|
144 |
return None, "❌ Please upload a .pages file"
|
145 |
|
|
|
17 |
# Initialize the client with Cerebras
|
18 |
client = InferenceClient(
|
19 |
"meta-llama/Llama-3.3-70B-Instruct",
|
20 |
+
provider="novita",
|
21 |
token=hf_token
|
22 |
)
|
23 |
|
|
|
139 |
|
140 |
@spaces.GPU
|
141 |
def convert_pages_document(file, output_format, progress=gr.Progress()):
|
142 |
+
"""Convert Pages document using CloudConvert + Novita"""
|
143 |
if not file:
|
144 |
return None, "❌ Please upload a .pages file"
|
145 |
|