Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from huggingface_hub import InferenceClient, Repository
|
|
3 |
import json
|
4 |
import torch
|
5 |
|
6 |
-
client = InferenceClient("
|
7 |
|
8 |
# Initialize an empty list to store the data
|
9 |
data = []
|
@@ -83,4 +83,4 @@ if __name__ == "__main__":
|
|
83 |
print("CUDA GPU is installed. Running inference on GPU.")
|
84 |
else:
|
85 |
print("CUDA GPU is not installed. Running inference on CPU.")
|
86 |
-
demo.launch()
|
|
|
3 |
import json
|
4 |
import torch
|
5 |
|
6 |
+
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
7 |
|
8 |
# Initialize an empty list to store the data
|
9 |
data = []
|
|
|
83 |
print("CUDA GPU is installed. Running inference on GPU.")
|
84 |
else:
|
85 |
print("CUDA GPU is not installed. Running inference on CPU.")
|
86 |
+
demo.launch()
|