Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def load_llmware_model():
|
|
26 |
return huggingface_hub.HuggingFaceHub(
|
27 |
repo_id = "llmware/bling-sheared-llama-2.7b-0.1",
|
28 |
task="text-generation",
|
29 |
-
verbose=True,
|
30 |
huggingfacehub_api_token=os.environ['hf_token'],
|
31 |
model_kwargs={
|
32 |
'temperature':0.03,
|
@@ -145,4 +145,4 @@ with gr.Blocks() as demo:
|
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
demo.queue()
|
148 |
-
demo.launch(max_threads=8, debug=True
|
|
|
26 |
return huggingface_hub.HuggingFaceHub(
|
27 |
repo_id = "llmware/bling-sheared-llama-2.7b-0.1",
|
28 |
task="text-generation",
|
29 |
+
# verbose=True,
|
30 |
huggingfacehub_api_token=os.environ['hf_token'],
|
31 |
model_kwargs={
|
32 |
'temperature':0.03,
|
|
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
demo.queue()
|
148 |
+
demo.launch(max_threads=8, debug=True)
|